#!/usr/local/bin/python2 class A(object): def __init__(self, a): print 'A', class B(A): def __init__(self, a): print 'B', super(B, self).__init__(a) class C(A): def __init__(self, a=1): print 'C', super(C, self).__init__(a) class D(B, C): def __init__(self): print 'D', super(D, self).__init__() C()