This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author abriabrisham
Recipients abriabrisham, docs@python
Date 2021-12-20.21:20:25
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1640035225.46.0.0193110772528.issue46139@roundup.psfhosted.org>
In-reply-to
Content
On the documentation page https://docs.python.org/3/library/stdtypes.html the header 'Boolean Operations — and, or, not' provides a table (attached as an image). 

It states: 

a.1) x OR y - if x is false, then y, else x **
a.2) x AND y - if x is false, then x, else y **

When I read this i intuit the following

b.1) x OR y - if x is false, then x, else y
b.2) x AND y - if x is false, then y, else x

Providing an example with a.1 which is currently listed in the documentation

If x is false -> else x = False (we don't check if Y=True which is the definition of an OR operator). 

** This is a short-circuit operator, so it only evaluates the second argument if the first one is false.

I would appreciate clarification on this and if others see an issue with the documentation after reading my description able then movement on consensus to correct the documentation
History
Date User Action Args
2021-12-20 21:20:25abriabrishamsetrecipients: + abriabrisham, docs@python
2021-12-20 21:20:25abriabrishamsetmessageid: <1640035225.46.0.0193110772528.issue46139@roundup.psfhosted.org>
2021-12-20 21:20:25abriabrishamlinkissue46139 messages
2021-12-20 21:20:25abriabrishamcreate