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

I mean, it's common when the argument itself has a domain of all possible Python objects and therefore `None` should be usable as a literal value. The requirement itself is not very common, but virtually all code with that requirement uses this idiom in my knowledge.


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

Search: