kaneg/JythonHelper

After using JythonHelper: IntelliJ reports 'Old-style class contains call for super methodOld-style class contains call for super method'

Opened this issue · 0 comments

Example code:

class MyJFrame(JFrame):

    def __init__(self, frameTitle=None):
        super(JFrame, self).__init__(frameTitle)
        self.myJFrameVersion = 2
        self.isActiveInMoneydance = False
        self.isRunTimeExtension = False
        self.MoneydanceAppListener = None
        self.HomePageViewObj = None

IntelliJ PyCharm reports 'Old-style class contains call for super method'

It wants to fix the code by using:

class MyJFrame(object, JFrame):

Should the stub generator set the class definition to inherit from object?