t242.py 262 B

1234567891011121314
  1. class O(object): pass
  2. class A(O): pass
  3. class B(O): pass
  4. class C(O): pass
  5. class D(O): pass
  6. class E(O): pass
  7. class K1(A,B,C): pass
  8. class K2(D,B,E): pass
  9. class K3(D,A): pass
  10. class Z(K1,K2,K3): pass
  11. print K1.__mro__
  12. print K2.__mro__
  13. print K3.__mro__
  14. print Z.__mro__