[New-bugs-announce] [issue29709] Short-circuiting not only on False and True

Stefan Pochmann report at bugs.python.org
Fri Mar 3 07:11:40 EST 2017


New submission from Stefan Pochmann:

The notes at https://docs.python.org/3/library/stdtypes.html#boolean-operations-and-or-not say that `or` "only evaluates the second argument if the first one is False" and that `and` "only evaluates the second argument if the first one is True". Should say "false" and "true" instead of "False" and "True".

----------
assignee: docs at python
components: Documentation
messages: 288881
nosy: Stefan Pochmann, docs at python
priority: normal
severity: normal
status: open
title: Short-circuiting not only on False and True
type: enhancement
versions: Python 2.7, Python 3.3, Python 3.4, Python 3.5, Python 3.6, Python 3.7

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue29709>
_______________________________________


More information about the New-bugs-announce mailing list