mirror of
https://github.com/micropython/micropython.git
synced 2026-01-07 20:50:14 +01:00
I.e. with its own globals. So, just as for functions, we need to switch globals when resuming a generator.
3 lines
25 B
Python
3 lines
25 B
Python
def call(g):
|
|
next(g)
|