Closed fwitte closed 1 year ago
I quite a lot of places, methods of parent classes are used by importing the parent class and calling the method with something like
import ParentClass ParentClass.method()
The correct way to do this is
super().method()
Also see https://stackoverflow.com/questions/576169/understanding-python-super-with-init-methods
I quite a lot of places, methods of parent classes are used by importing the parent class and calling the method with something like
The correct way to do this is
Also see https://stackoverflow.com/questions/576169/understanding-python-super-with-init-methods