When creating a simple object hierarchy in Python, I\'d like to be able to invoke methods of the parent class from a derived class. In Perl and Java, there is a keyword for
Use the super() function:
class Foo(Bar): def baz(self, arg): return super().baz(arg)
For Python < 3, you must explicitly opt in to using new-style classes and use:
class Foo(Bar): def baz(self, arg): return super(Foo, self).baz(arg)