class P(object): def __init__(self): print "calling P's constructor"class C(P): def __init__(self): super(C, self).__init__() print "calling C's constructor"