12345678910111213141516171819202122232425262728 |
- Module(body=[FunctionDef(name='f',
- args=arguments(args=[],
- vararg=None,
- kwarg=None,
- defaults=[]),
- body=[If(test=Compare(left=Num(n=1),
- ops=[Eq()],
- comparators=[Num(n=2)]),
- body=[Expr(value=Yield(value=Num(n=-1)))],
- orelse=[If(test=Compare(left=Num(n=1),
- ops=[Eq()],
- comparators=[Num(n=1)]),
- body=[Expr(value=Yield(value=Num(n=3)))],
- orelse=[Expr(value=Yield(value=Num(n=-1)))])])],
- decorator_list=[]),
- Print(dest=None,
- values=[Call(func=Name(id='list',
- ctx=Load()),
- args=[Call(func=Name(id='f',
- ctx=Load()),
- args=[],
- keywords=[],
- starargs=None,
- kwargs=None)],
- keywords=[],
- starargs=None,
- kwargs=None)],
- nl=True)])
|