t360.trans 1.1 KB

12345678910111213141516171819202122
  1. Module(body=[Assign(targets=[Name(id='a',
  2. ctx=Store())],
  3. value=Dict(keys=[],
  4. values=[])),
  5. Assign(targets=[Name(id='b',
  6. ctx=Store())],
  7. value=Subscript(value=Name(id='a',
  8. ctx=Load()),
  9. slice=Index(value=Tuple(elts=[Num(n=1),
  10. Num(n=2)],
  11. ctx=Load())),
  12. ctx=Load())),
  13. Assign(targets=[Name(id='b',
  14. ctx=Store())],
  15. value=Subscript(value=Name(id='a',
  16. ctx=Load()),
  17. slice=Index(value=Str(s='something')),
  18. ctx=Load())),
  19. Print(dest=None,
  20. values=[Name(id='b',
  21. ctx=Load())],
  22. nl=True)])