1import gen_context2 2 3GLOBAL = "GLOBAL" 4 5 6def gen(): 7 print(GLOBAL) 8 yield 1 9 10 11gen_context2.call(gen()) 12