[issue46883] Add glossary entries to clarify the true/True and false/False distinction
Steven D'Aprano
report at bugs.python.org
Mon Feb 28 10:29:38 EST 2022
Steven D'Aprano <steve+python at pearwood.info> added the comment:
Note also that this is mentioned here:
https://docs.python.org/3/library/stdtypes.html#boolean-values
"[True and False] are used to represent truth values (although other values can also be considered false or true)."
although it is perhaps not as clear as I would prefer.
Also relevant is this:
https://docs.python.org/3/library/stdtypes.html#truth-value-testing
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue46883>
_______________________________________
More information about the Python-bugs-list
mailing list