12345678910111213141516171819202122232425 |
- Module(body=[ClassDef(name='x',
- bases=[],
- body=[Pass()],
- decorator_list=[]),
- FunctionDef(name='f',
- args=arguments(args=[Name(id='x',
- ctx=Param())],
- vararg=None,
- kwarg=None,
- defaults=[]),
- body=[Return(value=Name(id='x',
- ctx=Load()))],
- decorator_list=[]),
- Assign(targets=[Attribute(value=Name(id='x',
- ctx=Load()),
- attr='hi',
- ctx=Store())],
- value=Name(id='f',
- ctx=Load())),
- Print(dest=None,
- values=[Attribute(value=Name(id='x',
- ctx=Load()),
- attr='hi',
- ctx=Load())],
- nl=True)])
|