New submission from Stefan Pochmann <stefan.pochm...@gmail.com>:
Python consistently says true/false, not truthy/falsy. But a few "truthy" have crept in now: https://github.com/python/cpython/search?q=truthy - Two in Doc/reference/compound_stmts.rst - One in Doc/library/ast.rst - One in Lib/test/test_builtin.py Evidence for consistent true/false usage, if needed: https://docs.python.org/3/library/stdtypes.html#truth-value-testing https://docs.python.org/3/library/stdtypes.html#boolean-operations-and-or-not https://docs.python.org/3/reference/compound_stmts.html#the-if-statement https://docs.python.org/3/reference/compound_stmts.html#the-while-statement https://docs.python.org/3/reference/expressions.html#boolean-operations ---------- assignee: docs@python components: Documentation messages: 403056 nosy: Stefan Pochmann, docs@python priority: normal severity: normal status: open title: Some "truthy" crept in versions: Python 3.10, Python 3.11 _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue45346> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com