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

Python documentation is written by morons who don't understand well the subject they are discussing. Yes, it may be surprising, but it's very possible and happens all the time that a person can do something proficiently, but not know what or how they are doing.

Python documentation is full of nonsense, contradictions, bad definitions etc.

There's no such thing as "expression statement", it doesn't matter that they say so or write it in documentation. It's like saying "fraction integer" -- it has to be one or the other.




They're in good company—the C standard also has something called an "expression statement" which is similar.




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

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

Search: