t243.trans 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. Module(body=[Print(dest=None,
  2. values=[Attribute(value=Name(id='object',
  3. ctx=Load()),
  4. attr='__bases__',
  5. ctx=Load())],
  6. nl=True),
  7. Print(dest=None,
  8. values=[Attribute(value=Name(id='object',
  9. ctx=Load()),
  10. attr='__mro__',
  11. ctx=Load())],
  12. nl=True),
  13. ClassDef(name='X',
  14. bases=[Name(id='object',
  15. ctx=Load())],
  16. body=[Pass()],
  17. decorator_list=[]),
  18. ClassDef(name='Y',
  19. bases=[Name(id='X',
  20. ctx=Load())],
  21. body=[Pass()],
  22. decorator_list=[]),
  23. Print(dest=None,
  24. values=[Attribute(value=Name(id='X',
  25. ctx=Load()),
  26. attr='__bases__',
  27. ctx=Load())],
  28. nl=True),
  29. Print(dest=None,
  30. values=[Attribute(value=Name(id='X',
  31. ctx=Load()),
  32. attr='__mro__',
  33. ctx=Load())],
  34. nl=True),
  35. Print(dest=None,
  36. values=[Attribute(value=Name(id='Y',
  37. ctx=Load()),
  38. attr='__bases__',
  39. ctx=Load())],
  40. nl=True),
  41. Print(dest=None,
  42. values=[Attribute(value=Name(id='Y',
  43. ctx=Load()),
  44. attr='__mro__',
  45. ctx=Load())],
  46. nl=True)])