t309.trans 4.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. Module(body=[Assign(targets=[Name(id='s',
  2. ctx=Store())],
  3. value=Call(func=Name(id='set',
  4. ctx=Load()),
  5. args=[List(elts=[Num(n=1),
  6. Num(n=2),
  7. Num(n=3)],
  8. ctx=Load())],
  9. keywords=[],
  10. starargs=None,
  11. kwargs=None)),
  12. Assign(targets=[Name(id='t',
  13. ctx=Store())],
  14. value=Call(func=Name(id='set',
  15. ctx=Load()),
  16. args=[List(elts=[Num(n=3),
  17. Num(n=4),
  18. Num(n=5)],
  19. ctx=Load())],
  20. keywords=[],
  21. starargs=None,
  22. kwargs=None)),
  23. Expr(value=Call(func=Attribute(value=Name(id='s',
  24. ctx=Load()),
  25. attr='symmetric_difference_update',
  26. ctx=Load()),
  27. args=[Name(id='t',
  28. ctx=Load())],
  29. keywords=[],
  30. starargs=None,
  31. kwargs=None)),
  32. Expr(value=Call(func=Attribute(value=Name(id='t',
  33. ctx=Load()),
  34. attr='symmetric_difference_update',
  35. ctx=Load()),
  36. args=[Name(id='s',
  37. ctx=Load())],
  38. keywords=[],
  39. starargs=None,
  40. kwargs=None)),
  41. Print(dest=None,
  42. values=[Name(id='s',
  43. ctx=Load())],
  44. nl=True),
  45. Print(dest=None,
  46. values=[Compare(left=Name(id='s',
  47. ctx=Load()),
  48. ops=[Eq()],
  49. comparators=[Name(id='t',
  50. ctx=Load())])],
  51. nl=True),
  52. Print(dest=None,
  53. values=[Compare(left=Name(id='s',
  54. ctx=Load()),
  55. ops=[Eq()],
  56. comparators=[Call(func=Name(id='set',
  57. ctx=Load()),
  58. args=[List(elts=[Num(n=1),
  59. Num(n=2),
  60. Num(n=4),
  61. Num(n=5)],
  62. ctx=Load())],
  63. keywords=[],
  64. starargs=None,
  65. kwargs=None)])],
  66. nl=True),
  67. Print(dest=None,
  68. values=[Compare(left=Name(id='s',
  69. ctx=Load()),
  70. ops=[Eq()],
  71. comparators=[Call(func=Name(id='set',
  72. ctx=Load()),
  73. args=[List(elts=[Num(n=1),
  74. Num(n=2),
  75. Num(n=3)],
  76. ctx=Load())],
  77. keywords=[],
  78. starargs=None,
  79. kwargs=None)])],
  80. nl=True)])