t249.trans 724 B

12345678910111213141516
  1. Module(body=[Assign(targets=[Name(id='var1',
  2. ctx=Store())],
  3. value=Str(s='foo')),
  4. If(test=Call(func=Name(id='isinstance',
  5. ctx=Load()),
  6. args=[Name(id='var1',
  7. ctx=Load()),
  8. Name(id='str',
  9. ctx=Load())],
  10. keywords=[],
  11. starargs=None,
  12. kwargs=None),
  13. body=[Print(dest=None,
  14. values=[Str(s='var1 is a string')],
  15. nl=True)],
  16. orelse=[])])