t531.trans 4.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  1. Module(body=[ClassDef(name='Foo',
  2. bases=[],
  3. body=[Pass()],
  4. decorator_list=[]),
  5. ClassDef(name='Bar',
  6. bases=[Name(id='Foo',
  7. ctx=Load())],
  8. body=[Pass()],
  9. decorator_list=[]),
  10. ClassDef(name='Baz',
  11. bases=[Name(id='Bar',
  12. ctx=Load())],
  13. body=[Pass()],
  14. decorator_list=[]),
  15. ClassDef(name='XXX',
  16. bases=[],
  17. body=[Pass()],
  18. decorator_list=[]),
  19. ClassDef(name='Frob',
  20. bases=[Name(id='Baz',
  21. ctx=Load()),
  22. Name(id='XXX',
  23. ctx=Load())],
  24. body=[Pass()],
  25. decorator_list=[]),
  26. Print(dest=None,
  27. values=[Call(func=Name(id='issubclass',
  28. ctx=Load()),
  29. args=[Name(id='Bar',
  30. ctx=Load()),
  31. Name(id='Foo',
  32. ctx=Load())],
  33. keywords=[],
  34. starargs=None,
  35. kwargs=None)],
  36. nl=True),
  37. Print(dest=None,
  38. values=[Call(func=Name(id='issubclass',
  39. ctx=Load()),
  40. args=[Name(id='Foo',
  41. ctx=Load()),
  42. Name(id='Bar',
  43. ctx=Load())],
  44. keywords=[],
  45. starargs=None,
  46. kwargs=None)],
  47. nl=True),
  48. Print(dest=None,
  49. values=[Call(func=Name(id='issubclass',
  50. ctx=Load()),
  51. args=[Name(id='Baz',
  52. ctx=Load()),
  53. Name(id='Foo',
  54. ctx=Load())],
  55. keywords=[],
  56. starargs=None,
  57. kwargs=None)],
  58. nl=True),
  59. Print(dest=None,
  60. values=[Call(func=Name(id='issubclass',
  61. ctx=Load()),
  62. args=[Name(id='Baz',
  63. ctx=Load()),
  64. Name(id='Bar',
  65. ctx=Load())],
  66. keywords=[],
  67. starargs=None,
  68. kwargs=None)],
  69. nl=True),
  70. Print(dest=None,
  71. values=[Call(func=Name(id='issubclass',
  72. ctx=Load()),
  73. args=[Name(id='Foo',
  74. ctx=Load()),
  75. Name(id='object',
  76. ctx=Load())],
  77. keywords=[],
  78. starargs=None,
  79. kwargs=None)],
  80. nl=True),
  81. Print(dest=None,
  82. values=[Call(func=Name(id='issubclass',
  83. ctx=Load()),
  84. args=[Name(id='Frob',
  85. ctx=Load()),
  86. Name(id='XXX',
  87. ctx=Load())],
  88. keywords=[],
  89. starargs=None,
  90. kwargs=None)],
  91. nl=True)])