Hacker News new | past | comments | ask | show | jobs | submit login

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: