Talk:Closure (computer programming): Difference between revisions

Content deleted Content added
Ruud Koot (talk | contribs)
Ruud Koot (talk | contribs)
Line 644:
: Also, closures can close over more than just the variables in the lexical scope, but other lexical entities entities (e.g. <code>this</code>, target of <code>return></code> and <code>break</code>, ...) as well. The current lead doens't mention this yet. —''[[User:Ruud Koot|Ruud]]'' 12:52, 2 April 2011 (UTC)
 
: To see a closure does not just "remember" values" try:
<source lang="python">
Python 3.1.2 (release31-maint, Sep 17 2010, 20:27:33)