t542.trans 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. Module(body=[Assign(targets=[Name(id='x',
  2. ctx=Store())],
  3. value=Str(s=u'\u4e2d\u6587')),
  4. Print(dest=None,
  5. values=[Call(func=Name(id='len',
  6. ctx=Load()),
  7. args=[Name(id='x',
  8. ctx=Load())],
  9. keywords=[],
  10. starargs=None,
  11. kwargs=None)],
  12. nl=True),
  13. Print(dest=None,
  14. values=[Name(id='x',
  15. ctx=Load())],
  16. nl=True),
  17. Assign(targets=[Name(id='x',
  18. ctx=Store())],
  19. value=Str(s=u'R\xe9sum\xe9')),
  20. Print(dest=None,
  21. values=[Call(func=Name(id='len',
  22. ctx=Load()),
  23. args=[Name(id='x',
  24. ctx=Load())],
  25. keywords=[],
  26. starargs=None,
  27. kwargs=None)],
  28. nl=True),
  29. Print(dest=None,
  30. values=[Name(id='x',
  31. ctx=Load())],
  32. nl=True),
  33. Assign(targets=[Name(id='x',
  34. ctx=Store())],
  35. value=Str(s=u'string')),
  36. Print(dest=None,
  37. values=[Call(func=Name(id='len',
  38. ctx=Load()),
  39. args=[Name(id='x',
  40. ctx=Load())],
  41. keywords=[],
  42. starargs=None,
  43. kwargs=None)],
  44. nl=True),
  45. Print(dest=None,
  46. values=[Name(id='x',
  47. ctx=Load())],
  48. nl=True)])