1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980 |
- Module(body=[FunctionDef(name='f',
- args=arguments(args=[Name(id='a',
- ctx=Param()),
- Name(id='b',
- ctx=Param())],
- vararg=None,
- kwarg='c',
- defaults=[]),
- body=[Assign(targets=[Name(id='sortc',
- 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='c',
- ctx=Load()),
- attr='items',
- ctx=Load()),
- args=[],
- keywords=[],
- starargs=None,
- kwargs=None),
- ifs=[])])),
- Expr(value=Call(func=Attribute(value=Name(id='sortc',
- 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='sortc',
- ctx=Load())],
- nl=True)],
- decorator_list=[]),
- Expr(value=Call(func=Name(id='f',
- ctx=Load()),
- args=[Num(n=1),
- Num(n=2)],
- keywords=[keyword(arg='d',
- value=Num(n=4)),
- keyword(arg='e',
- value=Num(n=5))],
- starargs=None,
- kwargs=None)),
- Expr(value=Call(func=Name(id='f',
- ctx=Load()),
- args=[Num(n=1)],
- keywords=[keyword(arg='b',
- value=Num(n=4)),
- keyword(arg='e',
- value=Num(n=5))],
- starargs=None,
- kwargs=None)),
- Expr(value=Call(func=Name(id='f',
- ctx=Load()),
- args=[],
- keywords=[keyword(arg='a',
- value=Num(n=1)),
- keyword(arg='b',
- value=Num(n=4)),
- keyword(arg='e',
- value=Num(n=5)),
- keyword(arg='f',
- value=Num(n=6)),
- keyword(arg='g',
- value=Num(n=7))],
- starargs=None,
- kwargs=None))])
|