Skip to content

Use super() instead of the old style call to parent's methods #112

@eldipa

Description

@eldipa

Describe the feature you'd like
Now that we support Python 3.x only, it would be cool to modernize
a little the code.

Two easy points:

  • several classes inherent from object. This is not needed anymore in Python 3.x
  • calling a method in a parent class like ParentClass.method(self, args) can be replaced by a call to super like super().method(args).

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementsomething nice to have but it is not neither critical nor urgent

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions