t159.trans 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. Module(body=[ClassDef(name='X',
  2. bases=[],
  3. body=[Pass()],
  4. decorator_list=[]),
  5. Print(dest=None,
  6. values=[Call(func=Name(id='type',
  7. ctx=Load()),
  8. args=[Name(id='X',
  9. ctx=Load())],
  10. keywords=[],
  11. starargs=None,
  12. kwargs=None)],
  13. nl=True),
  14. Assign(targets=[Name(id='x',
  15. ctx=Store())],
  16. value=Call(func=Name(id='X',
  17. ctx=Load()),
  18. args=[],
  19. keywords=[],
  20. starargs=None,
  21. kwargs=None)),
  22. Print(dest=None,
  23. values=[Call(func=Name(id='type',
  24. ctx=Load()),
  25. args=[Name(id='x',
  26. ctx=Load())],
  27. keywords=[],
  28. starargs=None,
  29. kwargs=None)],
  30. nl=True),
  31. Print(dest=None,
  32. values=[Name(id='x',
  33. ctx=Load())],
  34. nl=True),
  35. ClassDef(name='Y',
  36. bases=[Name(id='object',
  37. ctx=Load())],
  38. body=[Pass()],
  39. decorator_list=[]),
  40. Print(dest=None,
  41. values=[Call(func=Name(id='type',
  42. ctx=Load()),
  43. args=[Name(id='Y',
  44. ctx=Load())],
  45. keywords=[],
  46. starargs=None,
  47. kwargs=None)],
  48. nl=True),
  49. Assign(targets=[Name(id='y',
  50. ctx=Store())],
  51. value=Call(func=Name(id='Y',
  52. ctx=Load()),
  53. args=[],
  54. keywords=[],
  55. starargs=None,
  56. kwargs=None)),
  57. Print(dest=None,
  58. values=[Call(func=Name(id='type',
  59. ctx=Load()),
  60. args=[Name(id='y',
  61. ctx=Load())],
  62. keywords=[],
  63. starargs=None,
  64. kwargs=None)],
  65. nl=True),
  66. Print(dest=None,
  67. values=[Name(id='y',
  68. ctx=Load())],
  69. nl=True)])