circuitpython/tests/basics/gen_yield_from_iter.py
Damien George 539681fffd tests: Rename test scripts, changing - to _ for consistency.
From now on, all new tests must use underscore.

Addresses issue #727.
2014-07-05 06:14:29 +01:00

9 lines
110 B
Python

def gen():
yield from (1, 2, 3)
def gen2():
yield from gen()
print(list(gen()))
print(list(gen2()))