You've already forked Core2forAWS-MicroPython
mirror of
https://github.com/m5stack/Core2forAWS-MicroPython.git
synced 2026-05-20 10:30:31 -07:00
f39d3b93da
Iterators and ducktype objects can now be arguments of yield from.
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()))
|