t300.trans 9.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198
  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='# equal')],
  29. nl=True),
  30. Assign(targets=[Name(id='eq',
  31. ctx=Store())],
  32. value=Call(func=Name(id='set',
  33. ctx=Load()),
  34. args=[Name(id='l',
  35. ctx=Load())],
  36. keywords=[],
  37. starargs=None,
  38. kwargs=None)),
  39. Print(dest=None,
  40. values=[Name(id='eq',
  41. ctx=Load())],
  42. nl=True),
  43. Print(dest=None,
  44. values=[Str(s='# forwards')],
  45. nl=True),
  46. Print(dest=None,
  47. values=[Call(func=Attribute(value=Name(id='s',
  48. ctx=Load()),
  49. attr='isdisjoint',
  50. ctx=Load()),
  51. args=[Name(id='eq',
  52. ctx=Load())],
  53. keywords=[],
  54. starargs=None,
  55. kwargs=None)],
  56. nl=True),
  57. Print(dest=None,
  58. values=[Compare(left=Name(id='s',
  59. ctx=Load()),
  60. ops=[Gt()],
  61. comparators=[Name(id='eq',
  62. ctx=Load())])],
  63. nl=True),
  64. Print(dest=None,
  65. values=[Call(func=Attribute(value=Name(id='s',
  66. ctx=Load()),
  67. attr='issuperset',
  68. ctx=Load()),
  69. args=[Name(id='eq',
  70. ctx=Load())],
  71. keywords=[],
  72. starargs=None,
  73. kwargs=None)],
  74. nl=True),
  75. Print(dest=None,
  76. values=[Compare(left=Name(id='s',
  77. ctx=Load()),
  78. ops=[GtE()],
  79. comparators=[Name(id='eq',
  80. ctx=Load())])],
  81. nl=True),
  82. Print(dest=None,
  83. values=[Compare(left=Name(id='s',
  84. ctx=Load()),
  85. ops=[Eq()],
  86. comparators=[Name(id='eq',
  87. ctx=Load())])],
  88. nl=True),
  89. Print(dest=None,
  90. values=[Compare(left=Name(id='s',
  91. ctx=Load()),
  92. ops=[NotEq()],
  93. comparators=[Name(id='eq',
  94. ctx=Load())])],
  95. nl=True),
  96. Print(dest=None,
  97. values=[Call(func=Attribute(value=Name(id='s',
  98. ctx=Load()),
  99. attr='issubset',
  100. ctx=Load()),
  101. args=[Name(id='eq',
  102. ctx=Load())],
  103. keywords=[],
  104. starargs=None,
  105. kwargs=None)],
  106. nl=True),
  107. Print(dest=None,
  108. values=[Compare(left=Name(id='s',
  109. ctx=Load()),
  110. ops=[LtE()],
  111. comparators=[Name(id='eq',
  112. ctx=Load())])],
  113. nl=True),
  114. Print(dest=None,
  115. values=[Compare(left=Name(id='s',
  116. ctx=Load()),
  117. ops=[Lt()],
  118. comparators=[Name(id='eq',
  119. ctx=Load())])],
  120. nl=True),
  121. Print(dest=None,
  122. values=[Str(s='# backwards')],
  123. nl=True),
  124. Print(dest=None,
  125. values=[Call(func=Attribute(value=Name(id='eq',
  126. ctx=Load()),
  127. attr='isdisjoint',
  128. ctx=Load()),
  129. args=[Name(id='s',
  130. ctx=Load())],
  131. keywords=[],
  132. starargs=None,
  133. kwargs=None)],
  134. nl=True),
  135. Print(dest=None,
  136. values=[Compare(left=Name(id='eq',
  137. ctx=Load()),
  138. ops=[Gt()],
  139. comparators=[Name(id='s',
  140. ctx=Load())])],
  141. nl=True),
  142. Print(dest=None,
  143. values=[Call(func=Attribute(value=Name(id='eq',
  144. ctx=Load()),
  145. attr='issuperset',
  146. ctx=Load()),
  147. args=[Name(id='s',
  148. ctx=Load())],
  149. keywords=[],
  150. starargs=None,
  151. kwargs=None)],
  152. nl=True),
  153. Print(dest=None,
  154. values=[Compare(left=Name(id='eq',
  155. ctx=Load()),
  156. ops=[GtE()],
  157. comparators=[Name(id='s',
  158. ctx=Load())])],
  159. nl=True),
  160. Print(dest=None,
  161. values=[Compare(left=Name(id='eq',
  162. ctx=Load()),
  163. ops=[Eq()],
  164. comparators=[Name(id='s',
  165. ctx=Load())])],
  166. nl=True),
  167. Print(dest=None,
  168. values=[Compare(left=Name(id='eq',
  169. ctx=Load()),
  170. ops=[NotEq()],
  171. comparators=[Name(id='s',
  172. ctx=Load())])],
  173. nl=True),
  174. Print(dest=None,
  175. values=[Call(func=Attribute(value=Name(id='eq',
  176. ctx=Load()),
  177. attr='issubset',
  178. ctx=Load()),
  179. args=[Name(id='s',
  180. ctx=Load())],
  181. keywords=[],
  182. starargs=None,
  183. kwargs=None)],
  184. nl=True),
  185. Print(dest=None,
  186. values=[Compare(left=Name(id='eq',
  187. ctx=Load()),
  188. ops=[LtE()],
  189. comparators=[Name(id='s',
  190. ctx=Load())])],
  191. nl=True),
  192. Print(dest=None,
  193. values=[Compare(left=Name(id='eq',
  194. ctx=Load()),
  195. ops=[Lt()],
  196. comparators=[Name(id='s',
  197. ctx=Load())])],
  198. nl=True)])