12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091 |
- 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='a',
- ctx=Store())],
- value=Num(n=0)),
- Assign(targets=[Attribute(value=Name(id='self',
- ctx=Load()),
- attr='b',
- ctx=Store())],
- value=Str(s='b')),
- Assign(targets=[Attribute(value=Name(id='self',
- ctx=Load()),
- attr='c',
- ctx=Store())],
- value=List(elts=[Num(n=1),
- Num(n=2),
- Num(n=3)],
- ctx=Load())),
- Assign(targets=[Attribute(value=Name(id='self',
- ctx=Load()),
- attr='d',
- ctx=Store())],
- value=Num(n=100000000000000))],
- 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)),
- AugAssign(target=Attribute(value=Name(id='s',
- ctx=Load()),
- attr='a',
- ctx=Store()),
- op=Add(),
- value=Num(n=10)),
- AugAssign(target=Attribute(value=Name(id='s',
- ctx=Load()),
- attr='b',
- ctx=Store()),
- op=Add(),
- value=Str(s='dog')),
- AugAssign(target=Attribute(value=Name(id='s',
- ctx=Load()),
- attr='c',
- ctx=Store()),
- op=Add(),
- value=List(elts=[Num(n=9),
- Num(n=10)],
- ctx=Load())),
- AugAssign(target=Attribute(value=Name(id='s',
- ctx=Load()),
- attr='d',
- ctx=Store()),
- op=Add(),
- value=Num(n=10000)),
- Print(dest=None,
- values=[Attribute(value=Name(id='s',
- ctx=Load()),
- attr='a',
- ctx=Load())],
- nl=True),
- Print(dest=None,
- values=[Attribute(value=Name(id='s',
- ctx=Load()),
- attr='b',
- ctx=Load())],
- nl=True),
- Print(dest=None,
- values=[Attribute(value=Name(id='s',
- ctx=Load()),
- attr='c',
- ctx=Load())],
- nl=True),
- Print(dest=None,
- values=[Attribute(value=Name(id='s',
- ctx=Load()),
- attr='d',
- ctx=Load())],
- nl=True)])
|