Lambda forms and scoping

alex goretoy aleksandr.goretoy at
Sat Mar 21 03:16:00 CET 2009

i looks at lambdas as unbound functions(or super function), in the case
above we create the functions in a list places it in memory unboud, once
binding a call to the memory address space it returns the value

it is basically same as doing this:
def f():
    print "f"

a=f #unbound function, same as rename function
a() #bind call to address space

hope this helps

-Alex Goretoy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the Python-list mailing list