t235.trans 3.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. Module(body=[Import(names=[alias(name='pkga.pkgb.modc',
  2. asname=None)]),
  3. Import(names=[alias(name='pkga.pkgb.modc',
  4. asname=None)]),
  5. Print(dest=None,
  6. values=[Str(s='a name'),
  7. Attribute(value=Name(id='pkga',
  8. ctx=Load()),
  9. attr='__name__',
  10. ctx=Load())],
  11. nl=True),
  12. Print(dest=None,
  13. values=[Str(s='a.b name'),
  14. Attribute(value=Attribute(value=Name(id='pkga',
  15. ctx=Load()),
  16. attr='pkgb',
  17. ctx=Load()),
  18. attr='__name__',
  19. ctx=Load())],
  20. nl=True),
  21. Print(dest=None,
  22. values=[Str(s='a.b.c name'),
  23. Attribute(value=Attribute(value=Attribute(value=Name(id='pkga',
  24. ctx=Load()),
  25. attr='pkgb',
  26. ctx=Load()),
  27. attr='modc',
  28. ctx=Load()),
  29. attr='__name__',
  30. ctx=Load())],
  31. nl=True),
  32. Print(dest=None,
  33. values=[Str(s='stuff'),
  34. Attribute(value=Attribute(value=Attribute(value=Name(id='pkga',
  35. ctx=Load()),
  36. attr='pkgb',
  37. ctx=Load()),
  38. attr='modc',
  39. ctx=Load()),
  40. attr='stuff',
  41. ctx=Load())],
  42. nl=True),
  43. Print(dest=None,
  44. values=[Str(s='things'),
  45. Attribute(value=Attribute(value=Attribute(value=Name(id='pkga',
  46. ctx=Load()),
  47. attr='pkgb',
  48. ctx=Load()),
  49. attr='modc',
  50. ctx=Load()),
  51. attr='things',
  52. ctx=Load())],
  53. nl=True)])