123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164 |
- Module(body=[FunctionDef(name='f',
- args=arguments(args=[Name(id='a',
- ctx=Param()),
- Name(id='b',
- ctx=Param()),
- Name(id='c',
- ctx=Param()),
- Name(id='d',
- ctx=Param())],
- vararg='e',
- kwarg='f',
- defaults=[Num(n=10),
- Num(n=20)]),
- body=[Assign(targets=[Name(id='sortf',
- ctx=Store())],
- value=ListComp(elt=Tuple(elts=[Name(id='x',
- ctx=Load()),
- Name(id='y',
- ctx=Load())],
- ctx=Load()),
- generators=[comprehension(target=Tuple(elts=[Name(id='x',
- ctx=Store()),
- Name(id='y',
- ctx=Store())],
- ctx=Store()),
- iter=Call(func=Attribute(value=Name(id='f',
- ctx=Load()),
- attr='items',
- ctx=Load()),
- args=[],
- keywords=[],
- starargs=None,
- kwargs=None),
- ifs=[])])),
- Expr(value=Call(func=Attribute(value=Name(id='sortf',
- ctx=Load()),
- attr='sort',
- ctx=Load()),
- args=[],
- keywords=[],
- starargs=None,
- kwargs=None)),
- Print(dest=None,
- values=[Name(id='a',
- ctx=Load()),
- Name(id='b',
- ctx=Load()),
- Name(id='c',
- ctx=Load()),
- Name(id='d',
- ctx=Load()),
- Name(id='e',
- ctx=Load()),
- Name(id='sortf',
- ctx=Load())],
- nl=True)],
- decorator_list=[]),
- Expr(value=Call(func=Name(id='f',
- ctx=Load()),
- args=[Num(n=1),
- Num(n=2)],
- keywords=[],
- starargs=None,
- kwargs=None)),
- Expr(value=Call(func=Name(id='f',
- ctx=Load()),
- args=[Num(n=1),
- Num(n=2),
- Num(n=3)],
- keywords=[],
- starargs=None,
- kwargs=None)),
- Expr(value=Call(func=Name(id='f',
- ctx=Load()),
- args=[Num(n=1),
- Num(n=2),
- Num(n=3),
- Num(n=5)],
- keywords=[],
- starargs=None,
- kwargs=None)),
- Expr(value=Call(func=Name(id='f',
- ctx=Load()),
- args=[Num(n=1),
- Num(n=2)],
- keywords=[keyword(arg='d',
- value=Num(n=3)),
- keyword(arg='c',
- value=Num(n=5))],
- starargs=None,
- kwargs=None)),
- Expr(value=Call(func=Name(id='f',
- ctx=Load()),
- args=[Num(n=1),
- Num(n=2)],
- keywords=[keyword(arg='e',
- value=List(elts=[Str(s='x'),
- Str(s='y'),
- Str(s='z')],
- ctx=Load()))],
- starargs=None,
- kwargs=None)),
- Expr(value=Call(func=Name(id='f',
- ctx=Load()),
- args=[Num(n=1),
- Num(n=2)],
- keywords=[keyword(arg='d',
- value=Num(n=3)),
- keyword(arg='c',
- value=Num(n=5)),
- keyword(arg='e',
- value=List(elts=[Str(s='x'),
- Str(s='y'),
- Str(s='z')],
- ctx=Load()))],
- starargs=None,
- kwargs=None)),
- Expr(value=Call(func=Name(id='f',
- ctx=Load()),
- args=[Num(n=1),
- Num(n=2),
- Num(n=3),
- Num(n=5),
- List(elts=[Str(s='x'),
- Str(s='y'),
- Str(s='z')],
- ctx=Load())],
- keywords=[],
- starargs=None,
- kwargs=None)),
- Expr(value=Call(func=Name(id='f',
- ctx=Load()),
- args=[Num(n=1),
- Num(n=2),
- Num(n=3),
- Num(n=5),
- List(elts=[Str(s='x'),
- Str(s='y'),
- Str(s='z')],
- ctx=Load())],
- keywords=[keyword(arg='z',
- value=Num(n=5)),
- keyword(arg='y',
- value=Num(n=9))],
- starargs=None,
- kwargs=None)),
- Expr(value=Call(func=Name(id='f',
- ctx=Load()),
- args=[Num(n=1),
- Num(n=2),
- Num(n=3),
- Num(n=5),
- List(elts=[Str(s='x'),
- Str(s='y'),
- Str(s='z')],
- ctx=Load()),
- Str(s='blorp'),
- Str(s='wee')],
- keywords=[keyword(arg='z',
- value=Num(n=5)),
- keyword(arg='y',
- value=Num(n=9))],
- starargs=None,
- kwargs=None))])
|