kopia lustrzana https://github.com/micropython/micropython
10 wiersze
107 B
Python
10 wiersze
107 B
Python
|
import gen_context2
|
||
|
|
||
|
GLOBAL = "GLOBAL"
|
||
|
|
||
|
def gen():
|
||
|
print(GLOBAL)
|
||
|
yield 1
|
||
|
|
||
|
gen_context2.call(gen())
|