When Closure get external variable's value?
Fredrik Lundh
fredrik at pythonware.com
Tue Dec 19 16:26:28 EST 2006
More information about the Python-list mailing list
Tue Dec 19 16:26:28 EST 2006
- Previous message (by thread): When Closure get external variable's value?
- Next message (by thread): When Closure get external variable's value?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Bruno Desthuilliers wrote: >> You skipped the first and most important sentence: > "In programming languages, a closure is a function that refers to free > variables in its lexical context." > > IOW, a closure is a function that carry it's own environment. in contrast to functions that don't know what environment they belong to, you mean ? can you identify such a construct in Python ? </F>
- Previous message (by thread): When Closure get external variable's value?
- Next message (by thread): When Closure get external variable's value?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list