t297.trans 3.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  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=[Call(func=Name(id='len',
  25. ctx=Load()),
  26. args=[Name(id='s',
  27. ctx=Load())],
  28. keywords=[],
  29. starargs=None,
  30. kwargs=None),
  31. Name(id='s',
  32. ctx=Load())],
  33. nl=True),
  34. Expr(value=Call(func=Attribute(value=Name(id='s',
  35. ctx=Load()),
  36. attr='add',
  37. ctx=Load()),
  38. args=[Num(n=100)],
  39. keywords=[],
  40. starargs=None,
  41. kwargs=None)),
  42. Print(dest=None,
  43. values=[Call(func=Name(id='len',
  44. ctx=Load()),
  45. args=[Name(id='s',
  46. ctx=Load())],
  47. keywords=[],
  48. starargs=None,
  49. kwargs=None),
  50. Name(id='s',
  51. ctx=Load())],
  52. nl=True),
  53. Expr(value=Call(func=Attribute(value=Name(id='s',
  54. ctx=Load()),
  55. attr='discard',
  56. ctx=Load()),
  57. args=[Num(n=2)],
  58. keywords=[],
  59. starargs=None,
  60. kwargs=None)),
  61. Print(dest=None,
  62. values=[Call(func=Name(id='len',
  63. ctx=Load()),
  64. args=[Name(id='s',
  65. ctx=Load())],
  66. keywords=[],
  67. starargs=None,
  68. kwargs=None),
  69. Name(id='s',
  70. ctx=Load())],
  71. nl=True)])