Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I believe you are referring to the nonlocal keyword, which means that unlike the regular case (assignment binds as locally as possible), assignment will bind where the name is bound now. (There's a third case for globals, but let's not talk about those.)


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: