t308.trans 3.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  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. Assign(targets=[Name(id='a',
  24. ctx=Store())],
  25. value=Call(func=Attribute(value=Name(id='s',
  26. ctx=Load()),
  27. attr='symmetric_difference',
  28. ctx=Load()),
  29. args=[Name(id='t',
  30. ctx=Load())],
  31. keywords=[],
  32. starargs=None,
  33. kwargs=None)),
  34. Assign(targets=[Name(id='b',
  35. ctx=Store())],
  36. value=Call(func=Attribute(value=Name(id='t',
  37. ctx=Load()),
  38. attr='symmetric_difference',
  39. ctx=Load()),
  40. args=[Name(id='s',
  41. ctx=Load())],
  42. keywords=[],
  43. starargs=None,
  44. kwargs=None)),
  45. Print(dest=None,
  46. values=[Name(id='a',
  47. ctx=Load())],
  48. nl=True),
  49. Print(dest=None,
  50. values=[Compare(left=Name(id='a',
  51. ctx=Load()),
  52. ops=[Eq()],
  53. comparators=[Name(id='b',
  54. ctx=Load())])],
  55. nl=True),
  56. Print(dest=None,
  57. values=[Compare(left=Name(id='a',
  58. ctx=Load()),
  59. ops=[Eq()],
  60. comparators=[Call(func=Name(id='set',
  61. ctx=Load()),
  62. args=[List(elts=[Num(n=1),
  63. Num(n=2),
  64. Num(n=4),
  65. Num(n=5)],
  66. ctx=Load())],
  67. keywords=[],
  68. starargs=None,
  69. kwargs=None)])],
  70. nl=True)])