Documentation for infix or
assembled from the following pages:
Language documentation: Operators §
From Operators
(Operators) infix or §
Same as infix ||
, except with looser precedence.
Returns the first argument that evaluates to True
in Boolean context, or otherwise the last argument, it short-circuits. Please note that or
is easy to misuse. See traps.