JythonHelper icon indicating copy to clipboard operation
JythonHelper copied to clipboard

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

Open yogi1967 opened this issue 4 years ago • 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?

yogi1967 avatar Jul 30 '21 06:07 yogi1967