mirror of
https://github.com/licsber/micropython.git
synced 2024-09-22 01:50:24 +08:00
539681fffd
From now on, all new tests must use underscore. Addresses issue #727.
9 lines
110 B
Python
9 lines
110 B
Python
def gen():
|
|
yield from (1, 2, 3)
|
|
|
|
def gen2():
|
|
yield from gen()
|
|
|
|
print(list(gen()))
|
|
print(list(gen2()))
|