1# Use the super() function to accessing inherited methods that have been overridden in a class.:
2class Foo(Bar):
3 def baz(self, arg):
4 return super().baz(arg)
5
6#For Python < 3, you must explicitly opt in to using new-style classes and use:
7class Foo(Bar):
8 def baz(self, arg):
9 return super(Foo, self).baz(arg)