Closure (computer programming): Difference between revisions

Content deleted Content added
Undid revision 1119012726 by 85.129.40.72 (talk) use Talk:Closure (computer programming) or WP:REFDESK
Anonymous functions: (Bogus edit) There is no contradiction here: the call f(1) returns the closure g with x set to 1
Tag: Reverted
Line 23:
def g(y):
return x + y
return g # Return a closure.
 
def h(x):