t299.trans 8.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185
  1. Module(body=[Assign(targets=[Name(id='l',
  2. ctx=Store())],
  3. value=List(elts=[Num(n=1),
  4. Num(n=2),
  5. Num(n=3),
  6. Num(n=4),
  7. Num(n=1),
  8. Num(n=1)],
  9. ctx=Load())),
  10. Print(dest=None,
  11. values=[Name(id='l',
  12. ctx=Load())],
  13. nl=True),
  14. Assign(targets=[Name(id='s',
  15. ctx=Store())],
  16. value=Call(func=Name(id='set',
  17. ctx=Load()),
  18. args=[Name(id='l',
  19. ctx=Load())],
  20. keywords=[],
  21. starargs=None,
  22. kwargs=None)),
  23. Print(dest=None,
  24. values=[Name(id='s',
  25. ctx=Load())],
  26. nl=True),
  27. Print(dest=None,
  28. values=[Str(s='# self')],
  29. nl=True),
  30. Print(dest=None,
  31. values=[Str(s='# forwards')],
  32. nl=True),
  33. Print(dest=None,
  34. values=[Call(func=Attribute(value=Name(id='s',
  35. ctx=Load()),
  36. attr='isdisjoint',
  37. ctx=Load()),
  38. args=[Name(id='s',
  39. ctx=Load())],
  40. keywords=[],
  41. starargs=None,
  42. kwargs=None)],
  43. nl=True),
  44. Print(dest=None,
  45. values=[Compare(left=Name(id='s',
  46. ctx=Load()),
  47. ops=[Gt()],
  48. comparators=[Name(id='s',
  49. ctx=Load())])],
  50. nl=True),
  51. Print(dest=None,
  52. values=[Call(func=Attribute(value=Name(id='s',
  53. ctx=Load()),
  54. attr='issuperset',
  55. ctx=Load()),
  56. args=[Name(id='s',
  57. ctx=Load())],
  58. keywords=[],
  59. starargs=None,
  60. kwargs=None)],
  61. nl=True),
  62. Print(dest=None,
  63. values=[Compare(left=Name(id='s',
  64. ctx=Load()),
  65. ops=[GtE()],
  66. comparators=[Name(id='s',
  67. ctx=Load())])],
  68. nl=True),
  69. Print(dest=None,
  70. values=[Compare(left=Name(id='s',
  71. ctx=Load()),
  72. ops=[Eq()],
  73. comparators=[Name(id='s',
  74. ctx=Load())])],
  75. nl=True),
  76. Print(dest=None,
  77. values=[Compare(left=Name(id='s',
  78. ctx=Load()),
  79. ops=[NotEq()],
  80. comparators=[Name(id='s',
  81. ctx=Load())])],
  82. nl=True),
  83. Print(dest=None,
  84. values=[Call(func=Attribute(value=Name(id='s',
  85. ctx=Load()),
  86. attr='issubset',
  87. ctx=Load()),
  88. args=[Name(id='s',
  89. ctx=Load())],
  90. keywords=[],
  91. starargs=None,
  92. kwargs=None)],
  93. nl=True),
  94. Print(dest=None,
  95. values=[Compare(left=Name(id='s',
  96. ctx=Load()),
  97. ops=[LtE()],
  98. comparators=[Name(id='s',
  99. ctx=Load())])],
  100. nl=True),
  101. Print(dest=None,
  102. values=[Compare(left=Name(id='s',
  103. ctx=Load()),
  104. ops=[Lt()],
  105. comparators=[Name(id='s',
  106. ctx=Load())])],
  107. nl=True),
  108. Print(dest=None,
  109. values=[Str(s='# backwards')],
  110. nl=True),
  111. Print(dest=None,
  112. values=[Call(func=Attribute(value=Name(id='s',
  113. ctx=Load()),
  114. attr='isdisjoint',
  115. ctx=Load()),
  116. args=[Name(id='s',
  117. ctx=Load())],
  118. keywords=[],
  119. starargs=None,
  120. kwargs=None)],
  121. nl=True),
  122. Print(dest=None,
  123. values=[Compare(left=Name(id='s',
  124. ctx=Load()),
  125. ops=[Gt()],
  126. comparators=[Name(id='s',
  127. ctx=Load())])],
  128. nl=True),
  129. Print(dest=None,
  130. values=[Call(func=Attribute(value=Name(id='s',
  131. ctx=Load()),
  132. attr='issuperset',
  133. ctx=Load()),
  134. args=[Name(id='s',
  135. ctx=Load())],
  136. keywords=[],
  137. starargs=None,
  138. kwargs=None)],
  139. nl=True),
  140. Print(dest=None,
  141. values=[Compare(left=Name(id='s',
  142. ctx=Load()),
  143. ops=[GtE()],
  144. comparators=[Name(id='s',
  145. ctx=Load())])],
  146. nl=True),
  147. Print(dest=None,
  148. values=[Compare(left=Name(id='s',
  149. ctx=Load()),
  150. ops=[Eq()],
  151. comparators=[Name(id='s',
  152. ctx=Load())])],
  153. nl=True),
  154. Print(dest=None,
  155. values=[Compare(left=Name(id='s',
  156. ctx=Load()),
  157. ops=[NotEq()],
  158. comparators=[Name(id='s',
  159. ctx=Load())])],
  160. nl=True),
  161. Print(dest=None,
  162. values=[Call(func=Attribute(value=Name(id='s',
  163. ctx=Load()),
  164. attr='issubset',
  165. ctx=Load()),
  166. args=[Name(id='s',
  167. ctx=Load())],
  168. keywords=[],
  169. starargs=None,
  170. kwargs=None)],
  171. nl=True),
  172. Print(dest=None,
  173. values=[Compare(left=Name(id='s',
  174. ctx=Load()),
  175. ops=[LtE()],
  176. comparators=[Name(id='s',
  177. ctx=Load())])],
  178. nl=True),
  179. Print(dest=None,
  180. values=[Compare(left=Name(id='s',
  181. ctx=Load()),
  182. ops=[Lt()],
  183. comparators=[Name(id='s',
  184. ctx=Load())])],
  185. nl=True)])