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

8 lines
73 B
Python
Raw Normal View History

x = 1
print(x)
# local store after load
def f():
print(x)
x = 1