Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
aston
on Jan 1, 2009
|
parent
|
context
|
favorite
| on:
Small surprises while grading programming language...
Python 3k adds a new keyword,
nonlocal
, which actually lets you print out x that way (you'd declare
nonlocal x
before printing). Check out PEP 3104:
http://www.python.org/dev/peps/pep-3104/
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: