If you’re using a new-style class (i.e. derives from object
in Python 2, or always in Python 3), you can do it with super()
like this:
super(Derived, cls).do(a)
This is how you would invoke the code in the base class’s version of the method (i.e. print cls, a
), from the derived class, with cls
being set to the derived class.