1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162 |
- Module(body=[FunctionDef(name='toString',
- args=arguments(args=[],
- vararg=None,
- kwarg=None,
- defaults=[]),
- body=[Print(dest=None,
- values=[Str(s='wee')],
- nl=True)],
- decorator_list=[]),
- ClassDef(name='stuff',
- bases=[],
- body=[FunctionDef(name='toString',
- args=arguments(args=[Name(id='self',
- ctx=Param())],
- vararg=None,
- kwarg=None,
- defaults=[]),
- body=[Return(value=Str(s='waa'))],
- decorator_list=[]),
- FunctionDef(name='valueOf',
- args=arguments(args=[Name(id='self',
- ctx=Param())],
- vararg=None,
- kwarg=None,
- defaults=[]),
- body=[Return(value=Str(s='stuff'))],
- decorator_list=[])],
- decorator_list=[]),
- Expr(value=Call(func=Name(id='toString',
- ctx=Load()),
- args=[],
- keywords=[],
- starargs=None,
- kwargs=None)),
- Assign(targets=[Name(id='s',
- ctx=Store())],
- value=Call(func=Name(id='stuff',
- ctx=Load()),
- args=[],
- keywords=[],
- starargs=None,
- kwargs=None)),
- Print(dest=None,
- values=[Call(func=Attribute(value=Name(id='s',
- ctx=Load()),
- attr='toString',
- ctx=Load()),
- args=[],
- keywords=[],
- starargs=None,
- kwargs=None)],
- nl=True),
- Print(dest=None,
- values=[Call(func=Attribute(value=Name(id='s',
- ctx=Load()),
- attr='valueOf',
- ctx=Load()),
- args=[],
- keywords=[],
- starargs=None,
- kwargs=None)],
- nl=True)])
|