123456789101112131415161718192021222324252627282930313233343536373839404142434445 |
- Module(body=[ClassDef(name='Stuff',
- bases=[],
- body=[FunctionDef(name='__init__',
- args=arguments(args=[Name(id='self',
- ctx=Param())],
- vararg=None,
- kwarg=None,
- defaults=[]),
- body=[Assign(targets=[Attribute(value=Name(id='self',
- ctx=Load()),
- attr='modes',
- ctx=Store())],
- value=Dict(keys=[Str(s='wee')],
- values=[Attribute(value=Name(id='self',
- ctx=Load()),
- attr='things',
- ctx=Load())])),
- Expr(value=Call(func=Subscript(value=Attribute(value=Name(id='self',
- ctx=Load()),
- attr='modes',
- ctx=Load()),
- slice=Index(value=Str(s='wee')),
- ctx=Load()),
- args=[],
- keywords=[],
- starargs=None,
- kwargs=None))],
- decorator_list=[]),
- FunctionDef(name='things',
- args=arguments(args=[Name(id='self',
- ctx=Param())],
- vararg=None,
- kwarg=None,
- defaults=[]),
- body=[Print(dest=None,
- values=[Str(s='OK')],
- nl=True)],
- decorator_list=[])],
- decorator_list=[]),
- Expr(value=Call(func=Name(id='Stuff',
- ctx=Load()),
- args=[],
- keywords=[],
- starargs=None,
- kwargs=None))])
|