micropython/tests/bytecode/mp-tests/yield2.py

8 lines
105 B
Python
Raw Normal View History

def f():
yield from a
yield from (a, b)
yield from f(a)
2014-04-11 21:10:21 +08:00
lambda:(yield)
lambda:(yield 1) + 2