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

8 lines
105 B
Python
Raw Normal View History

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