micropython/tests/bytecode/mp-tests/scope6.py

8 lines
105 B
Python

# closed over variable 2 deep
def f():
x = 1
def g():
def h():
return 1 + x