多重继承传参顺序问题
请问,如果类ABCD是这样定义的,那么D的super怎么传参数? 如下所示,是正确的吗? class A(object): def __init__(self, a): print ('init A...') self.a = a class B(A): def __init__(self, a, b): super(B, self).__init__(a) self.b = b print ('init B...') class C(A): def __init__(self, a, c): super(C, self).__init__(a) self.c = c print ('init C...') class D(B, C): def __init__(self, a, b, c, d): self.d = d print ('init D...')