Abri Vincent added the comment:
A short circuit operator.
x OR y - if x is false, then y, else x (1).
(1) This is a short-circuit operator, so it only evaluates the second argument
if the first one is false.
The first argument is 'if'
The second argument is 'then'
T
Change by Abri Vincent :
--
stage: -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.org/issue46139>
___
___
Python-bugs-list
New submission from Abri Vincent :
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 f