t415.trans 7.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147
  1. Module(body=[Print(dest=None,
  2. values=[Call(func=Name(id='list',
  3. ctx=Load()),
  4. args=[],
  5. keywords=[],
  6. starargs=None,
  7. kwargs=None)],
  8. nl=True),
  9. Assign(targets=[Name(id='l',
  10. ctx=Store())],
  11. value=List(elts=[Num(n=1),
  12. Num(n=2),
  13. Num(n=3),
  14. Num(n=4)],
  15. ctx=Load())),
  16. Print(dest=None,
  17. values=[Call(func=Name(id='list',
  18. ctx=Load()),
  19. args=[List(elts=[],
  20. ctx=Load())],
  21. keywords=[],
  22. starargs=None,
  23. kwargs=None)],
  24. nl=True),
  25. Print(dest=None,
  26. values=[Call(func=Name(id='list',
  27. ctx=Load()),
  28. args=[List(elts=[Num(n=1),
  29. Num(n=2),
  30. Num(n=3),
  31. Num(n=4)],
  32. ctx=Load())],
  33. keywords=[],
  34. starargs=None,
  35. kwargs=None)],
  36. nl=True),
  37. Assign(targets=[Name(id='l2',
  38. ctx=Store())],
  39. value=Call(func=Name(id='list',
  40. ctx=Load()),
  41. args=[Name(id='l',
  42. ctx=Load())],
  43. keywords=[],
  44. starargs=None,
  45. kwargs=None)),
  46. Assign(targets=[Subscript(value=Name(id='l',
  47. ctx=Load()),
  48. slice=Index(value=Num(n=3)),
  49. ctx=Store())],
  50. value=Num(n=10)),
  51. Print(dest=None,
  52. values=[Name(id='l',
  53. ctx=Load()),
  54. Name(id='l2',
  55. ctx=Load())],
  56. nl=True),
  57. Assign(targets=[Name(id='t',
  58. ctx=Store())],
  59. value=Tuple(elts=[Num(n=1),
  60. Num(n=2),
  61. Num(n=3),
  62. Num(n=4)],
  63. ctx=Load())),
  64. Print(dest=None,
  65. values=[Call(func=Name(id='list',
  66. ctx=Load()),
  67. args=[Tuple(elts=[],
  68. ctx=Load())],
  69. keywords=[],
  70. starargs=None,
  71. kwargs=None)],
  72. nl=True),
  73. Print(dest=None,
  74. values=[Call(func=Name(id='list',
  75. ctx=Load()),
  76. args=[Tuple(elts=[Num(n=1),
  77. Num(n=2),
  78. Num(n=3),
  79. Num(n=4)],
  80. ctx=Load())],
  81. keywords=[],
  82. starargs=None,
  83. kwargs=None)],
  84. nl=True),
  85. Print(dest=None,
  86. values=[Call(func=Name(id='list',
  87. ctx=Load()),
  88. args=[Name(id='t',
  89. ctx=Load())],
  90. keywords=[],
  91. starargs=None,
  92. kwargs=None)],
  93. nl=True),
  94. Assign(targets=[Name(id='d',
  95. ctx=Store())],
  96. value=Dict(keys=[Num(n=1),
  97. Num(n=3)],
  98. values=[Num(n=2),
  99. Num(n=4)])),
  100. Print(dest=None,
  101. values=[Call(func=Name(id='list',
  102. ctx=Load()),
  103. args=[Dict(keys=[],
  104. values=[])],
  105. keywords=[],
  106. starargs=None,
  107. kwargs=None)],
  108. nl=True),
  109. Print(dest=None,
  110. values=[Call(func=Name(id='list',
  111. ctx=Load()),
  112. args=[Name(id='d',
  113. ctx=Load())],
  114. keywords=[],
  115. starargs=None,
  116. kwargs=None)],
  117. nl=True),
  118. Print(dest=None,
  119. values=[Call(func=Name(id='list',
  120. ctx=Load()),
  121. args=[Call(func=Attribute(value=Name(id='d',
  122. ctx=Load()),
  123. attr='keys',
  124. ctx=Load()),
  125. args=[],
  126. keywords=[],
  127. starargs=None,
  128. kwargs=None)],
  129. keywords=[],
  130. starargs=None,
  131. kwargs=None)],
  132. nl=True),
  133. Print(dest=None,
  134. values=[Call(func=Name(id='list',
  135. ctx=Load()),
  136. args=[Call(func=Attribute(value=Name(id='d',
  137. ctx=Load()),
  138. attr='values',
  139. ctx=Load()),
  140. args=[],
  141. keywords=[],
  142. starargs=None,
  143. kwargs=None)],
  144. keywords=[],
  145. starargs=None,
  146. kwargs=None)],
  147. nl=True)])