micropython: add micropython component
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
# test passing named arg to closed-over function
|
||||
|
||||
def f():
|
||||
x = 1
|
||||
def g(z):
|
||||
print(x, z)
|
||||
return g
|
||||
|
||||
f()(z=42)
|
Reference in New Issue
Block a user