Python’s super(): A proxy for calling parent-class methods

Python's super(): A proxy for calling parent-class methods

A Python method can invoke a method in the parent class with super():

class Child(Parent):
    def x(self):
        total = super().x()
        return f'Parent reported {total}'

super() doesn’t invoke the method. It’s a proxy on which you invoke the method you want.