This website requires JavaScript.
Explore
Help
Sign In
mirrors
/
micropython
mirror of
https://github.com/micropython/micropython.git
Watch
1
Star
0
Fork
You've already forked micropython
0
Code
Issues
Packages
Projects
Releases
Wiki
Activity
1b901c320b
micropython
/
tests
/
bytecode
/
mp-tests
/
closure2.py
8 lines
109 B
Python
Raw
Blame
History
# test closing over an argument
def
f
(
x
)
:
y
=
2
*
x
def
g
(
z
)
:
return
x
+
y
+
z
return
g
Reference in New Issue
View Git Blame
Copy Permalink