You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With the introduction of Python 3, the super() function can be called without any arguments in instance methods, automatically determining the class and self. This helps in making the code cleaner and more maintainable.
Current Code
The current usage of super() in the classes is as follows:
Issue Description
With the introduction of Python 3, the
super()
function can be called without any arguments in instance methods, automatically determining the class and self. This helps in making the code cleaner and more maintainable.Current Code
The current usage of
super()
in the classes is as follows:Proposed Change
The new and more concise usage, available from Python 3 onwards, should be applied:
Benefits
super()
makes the code easier to read.super()
.Suggested Implementation
I can make a pull request implementing these changes across the codebase, if that's acceptable.
The text was updated successfully, but these errors were encountered: