t276.trans 4.2 KB

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