Talk:Closure (computer programming): Difference between revisions

Content deleted Content added
Jwal (talk | contribs)
No edit summary
Lament (talk | contribs)
(why Python doesn't have closures)
Line 70:
 
--[[User:Jwal|Jwal]] 18:35, 12 Jun 2004 (UTC)
 
 
----
 
Why Python doesn't have closures:
 
Python has nested scope, but not the ability to modify variables in outer lexical scopes (except for globals, and via reflexion). Therefore, Python doesn't have closures. It's that simple. --[[User:Lament|Lament]]