t363.trans 5.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127
  1. Module(body=[For(target=Name(id='x',
  2. ctx=Store()),
  3. iter=Call(func=Name(id='enumerate',
  4. ctx=Load()),
  5. args=[Call(func=Name(id='range',
  6. ctx=Load()),
  7. args=[Num(n=3)],
  8. keywords=[],
  9. starargs=None,
  10. kwargs=None)],
  11. keywords=[],
  12. starargs=None,
  13. kwargs=None),
  14. body=[Print(dest=None,
  15. values=[Name(id='x',
  16. ctx=Load())],
  17. nl=True)],
  18. orelse=[]),
  19. For(target=Tuple(elts=[Name(id='i',
  20. ctx=Store()),
  21. Name(id='v',
  22. ctx=Store())],
  23. ctx=Store()),
  24. iter=Call(func=Name(id='enumerate',
  25. ctx=Load()),
  26. args=[Call(func=Name(id='range',
  27. ctx=Load()),
  28. args=[Num(n=4),
  29. Num(n=8)],
  30. keywords=[],
  31. starargs=None,
  32. kwargs=None)],
  33. keywords=[],
  34. starargs=None,
  35. kwargs=None),
  36. body=[Print(dest=None,
  37. values=[Name(id='i',
  38. ctx=Load()),
  39. Name(id='v',
  40. ctx=Load())],
  41. nl=True)],
  42. orelse=[]),
  43. For(target=Name(id='x',
  44. ctx=Store()),
  45. iter=Call(func=Name(id='enumerate',
  46. ctx=Load()),
  47. args=[List(elts=[Num(n=14),
  48. Num(n=8),
  49. Num(n=2),
  50. Str(s='abc'),
  51. Num(n=-7)],
  52. ctx=Load()),
  53. Num(n=2)],
  54. keywords=[],
  55. starargs=None,
  56. kwargs=None),
  57. body=[Print(dest=None,
  58. values=[Name(id='x',
  59. ctx=Load())],
  60. nl=True)],
  61. orelse=[]),
  62. Print(dest=None,
  63. values=[Name(id='enumerate',
  64. ctx=Load())],
  65. nl=True),
  66. Assign(targets=[Name(id='e',
  67. ctx=Store())],
  68. value=Call(func=Name(id='enumerate',
  69. ctx=Load()),
  70. args=[List(elts=[Num(n=4),
  71. Num(n=8),
  72. Num(n=12)],
  73. ctx=Load()),
  74. Num(n=-3)],
  75. keywords=[],
  76. starargs=None,
  77. kwargs=None)),
  78. Print(dest=None,
  79. values=[Name(id='e',
  80. ctx=Load())],
  81. nl=True),
  82. Print(dest=None,
  83. values=[Call(func=Name(id='repr',
  84. ctx=Load()),
  85. args=[Name(id='e',
  86. ctx=Load())],
  87. keywords=[],
  88. starargs=None,
  89. kwargs=None)],
  90. nl=True),
  91. Print(dest=None,
  92. values=[Call(func=Attribute(value=Name(id='e',
  93. ctx=Load()),
  94. attr='next',
  95. ctx=Load()),
  96. args=[],
  97. keywords=[],
  98. starargs=None,
  99. kwargs=None)],
  100. nl=True),
  101. Assign(targets=[Name(id='d',
  102. ctx=Store())],
  103. value=Dict(keys=[Name(id='e',
  104. ctx=Load())],
  105. values=[Num(n=3)])),
  106. Print(dest=None,
  107. values=[Name(id='d',
  108. ctx=Load())],
  109. nl=True),
  110. For(target=Name(id='x',
  111. ctx=Store()),
  112. iter=Name(id='e',
  113. ctx=Load()),
  114. body=[Print(dest=None,
  115. values=[Name(id='x',
  116. ctx=Load())],
  117. nl=True)],
  118. orelse=[]),
  119. For(target=Name(id='y',
  120. ctx=Store()),
  121. iter=Name(id='e',
  122. ctx=Load()),
  123. body=[Print(dest=None,
  124. values=[Name(id='y',
  125. ctx=Load())],
  126. nl=True)],
  127. orelse=[])])