123456789101112131415161718192021222324252627282930313233343536373839404142434445 |
- Module(body=[FunctionDef(name='f',
- args=arguments(args=[Name(id='iter',
- ctx=Param())],
- vararg=None,
- kwarg=None,
- defaults=[]),
- body=[For(target=Name(id='v',
- ctx=Store()),
- iter=Name(id='iter',
- ctx=Load()),
- body=[Print(dest=None,
- values=[Name(id='v',
- ctx=Load())],
- nl=True)],
- orelse=[])],
- decorator_list=[]),
- Expr(value=Call(func=Name(id='f',
- ctx=Load()),
- args=[GeneratorExp(elt=BinOp(left=Name(id='x',
- ctx=Load()),
- op=Mult(),
- right=Name(id='y',
- ctx=Load())),
- generators=[comprehension(target=Name(id='x',
- ctx=Store()),
- iter=Call(func=Name(id='range',
- ctx=Load()),
- args=[Num(n=10)],
- keywords=[],
- starargs=None,
- kwargs=None),
- ifs=[]),
- comprehension(target=Name(id='y',
- ctx=Store()),
- iter=Call(func=Name(id='range',
- ctx=Load()),
- args=[Name(id='x',
- ctx=Load())],
- keywords=[],
- starargs=None,
- kwargs=None),
- ifs=[])])],
- keywords=[],
- starargs=None,
- kwargs=None))])
|