class P(object): def __init__(self): print "calling P's constructor" class C(P): def __init__(self): print "calling C's constructor" c = C()