Re:Revenge of the Nerds
by abecedarius on Saturday August 22, 2009 @04:03AM
(#779147)
That Python code shouldn't work. It needs a 'return', assignments aren't expressions, and assigning to a nonlocal variable in the absence of a declaration just creates a local. (Might be nice if Python did look more like that, though!)
[ Parent
| on HN ]
There are no comments on this comment yet.