1234567891011121314151617181920212223242526272829303132333435363738394041424344454647 |
- Module(body=[Assign(targets=[Name(id='longvalue',
- ctx=Store())],
- value=Num(n=9999999999999)),
- Print(dest=None,
- values=[BinOp(left=Str(s='%3ld'),
- op=Mod(),
- right=Num(n=42))],
- nl=True),
- Print(dest=None,
- values=[BinOp(left=Str(s='%d'),
- op=Mod(),
- right=Num(n=42))],
- nl=True),
- Print(dest=None,
- values=[BinOp(left=Str(s='%d'),
- op=Mod(),
- right=Num(n=42))],
- nl=True),
- Print(dest=None,
- values=[BinOp(left=Str(s='%d'),
- op=Mod(),
- right=Name(id='longvalue',
- ctx=Load()))],
- nl=True),
- Print(dest=None,
- values=[BinOp(left=Str(s='%07.2f'),
- op=Mod(),
- right=Num(n=42))],
- nl=True),
- Print(dest=None,
- values=[BinOp(left=Str(s='%07.2F'),
- op=Mod(),
- right=Num(n=42))],
- nl=True),
- Print(dest=None,
- values=[BinOp(left=Str(s='%(foo)s'),
- op=Mod(),
- right=Dict(keys=[Str(s='foo')],
- values=[Str(s='bar')]))],
- nl=True),
- Print(dest=None,
- values=[BinOp(left=Str(s='%sx'),
- op=Mod(),
- right=BinOp(left=Num(n=103),
- op=Mult(),
- right=Str(s='a')))],
- nl=True)])
|