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

Is it true that Python has dynamic scoping? I would have thought that it was lexical...



Ah, you are correct, Python scoping is lexical. The point I wanted to make was more about no pre-declaration and I mixed up what I was trying to say.

Thanks for pointing that out, it's now corrected :)




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

Search: