This is what the super
function does.
class Child(Parent):
def __init__(self):
super(Child, self).__init__()
def method_parent(self):
super(Child, self).method_parent()
print "Child"
In Python 3, you can call super
without the arguments, like super().method_parent()