[Guido] > None inherits most of its semantics from C's NULL -- that's where None > being false comes from. I know that's where it came from, but Python adds its own twists. If it really wanted to act like C's NULL, then print >> None, "oops" should segfault <wink>. There's nothing "wrong" about None evaluating to false in a Boolean context, it's simply one choice that *could* have made -- and better than most.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4