Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
abecedarius
on Aug 22, 2009
|
parent
|
context
|
favorite
| on:
Revenge of the Nerds
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!)
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: