t243.py 155 B

12345678
  1. print object.__bases__
  2. print object.__mro__
  3. class X(object): pass
  4. class Y(X): pass
  5. print(X.__bases__)
  6. print(X.__mro__)
  7. print(Y.__bases__)
  8. print(Y.__mro__)