Guido van Rossum <guido@python.org> writes: > > I would prefer these constants to be named "true" and "false", > > respectively. > > But all other built-in constants have an initial capital letter: None, > NotImplemented, Ellipsis, ... That certainly doesn't apply generally to all of Python: sys.version, sys.byteorder, sys.platform, sys.maxunicode, string.digits, string.other_constant_strings. Those you bring up are conceptually "objects", in the sense that you want to be aware of identity, whereas true and false are conceptually "values", in the sense that you never care about their identity, only about their state. Regards, Martin
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