Skip to content

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

@yogi1967

Description

@yogi1967

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions