Content deleted Content added
→Anonymous functions: (Bogus edit) There is no contradiction here: the call f(1) returns the closure g with x set to 1 Tag: Reverted |
Undid revision 1119073372 by Jochen Burghardt (talk) |
||
Line 23:
def g(y):
return x + y
return g # Return a closure.
def h(x):
|