Skip to content

Commit 4c9a446

Browse files
ramvikramshugovk
authored andcommitted
pythongh-100556: Improve clarity of or docs (pythonGH-100589)
(cherry picked from commit b40dd71) Co-authored-by: ram vikram singh <[email protected]> Co-authored-by: Hugo van Kemenade <[email protected]>
1 parent 2d9f8d4 commit 4c9a446

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Doc/library/stdtypes.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -84,8 +84,8 @@ These are the Boolean operations, ordered by ascending priority:
8484
+-------------+---------------------------------+-------+
8585
| Operation | Result | Notes |
8686
+=============+=================================+=======+
87-
| ``x or y`` | if *x* is false, then *y*, else | \(1) |
88-
| | *x* | |
87+
| ``x or y`` | if *x* is true, then *x*, else | \(1) |
88+
| | *y* | |
8989
+-------------+---------------------------------+-------+
9090
| ``x and y`` | if *x* is false, then *x*, else | \(2) |
9191
| | *y* | |

0 commit comments

Comments
 (0)