1234567891011121314151617181920212223242526272829303132333435363738 |
- Module(body=[ClassDef(name='Stuff',
- bases=[],
- body=[FunctionDef(name='blah',
- args=arguments(args=[Name(id='self',
- ctx=Param()),
- Name(id='x',
- ctx=Param()),
- Name(id='y',
- ctx=Param())],
- vararg=None,
- kwarg=None,
- defaults=[Name(id='False',
- ctx=Load())]),
- body=[Print(dest=None,
- values=[Name(id='x',
- ctx=Load()),
- Name(id='y',
- ctx=Load())],
- nl=True)],
- decorator_list=[])],
- decorator_list=[]),
- Assign(targets=[Name(id='s',
- ctx=Store())],
- value=Call(func=Name(id='Stuff',
- ctx=Load()),
- args=[],
- keywords=[],
- starargs=None,
- kwargs=None)),
- Expr(value=Call(func=Attribute(value=Name(id='s',
- ctx=Load()),
- attr='blah',
- ctx=Load()),
- args=[Str(s='x')],
- keywords=[keyword(arg='y',
- value=Str(s='OK'))],
- starargs=None,
- kwargs=None))])
|