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

8 lines
105 B
Python

def f():
yield from a
yield from (a, b)
yield from f(a)
lambda:(yield)
lambda:(yield 1) + 2