1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253 |
- Module(body=[Import(names=[alias(name='pkga.pkgb.modc',
- asname=None)]),
- Import(names=[alias(name='pkga.pkgb.modc',
- asname=None)]),
- Print(dest=None,
- values=[Str(s='a name'),
- Attribute(value=Name(id='pkga',
- ctx=Load()),
- attr='__name__',
- ctx=Load())],
- nl=True),
- Print(dest=None,
- values=[Str(s='a.b name'),
- Attribute(value=Attribute(value=Name(id='pkga',
- ctx=Load()),
- attr='pkgb',
- ctx=Load()),
- attr='__name__',
- ctx=Load())],
- nl=True),
- Print(dest=None,
- values=[Str(s='a.b.c name'),
- Attribute(value=Attribute(value=Attribute(value=Name(id='pkga',
- ctx=Load()),
- attr='pkgb',
- ctx=Load()),
- attr='modc',
- ctx=Load()),
- attr='__name__',
- ctx=Load())],
- nl=True),
- Print(dest=None,
- values=[Str(s='stuff'),
- Attribute(value=Attribute(value=Attribute(value=Name(id='pkga',
- ctx=Load()),
- attr='pkgb',
- ctx=Load()),
- attr='modc',
- ctx=Load()),
- attr='stuff',
- ctx=Load())],
- nl=True),
- Print(dest=None,
- values=[Str(s='things'),
- Attribute(value=Attribute(value=Attribute(value=Name(id='pkga',
- ctx=Load()),
- attr='pkgb',
- ctx=Load()),
- attr='modc',
- ctx=Load()),
- attr='things',
- ctx=Load())],
- nl=True)])
|