mirror of
https://github.com/licsber/micropython.git
synced 2024-09-21 01:20:23 +08:00
8 lines
105 B
Python
8 lines
105 B
Python
|
# closed over variable 2 deep
|
||
|
|
||
|
def f():
|
||
|
x = 1
|
||
|
def g():
|
||
|
def h():
|
||
|
return 1 + x
|