8000 gh-100556: Improve clarity of `or` docs (GH-100589) · python/cpython@a94f3ad · GitHub
[go: up one dir, main page]

Skip to content

Commit a94f3ad

Browse files
miss-islingtonramvikramshugovk
authored
gh-100556: Improve clarity of or docs (GH-100589)
(cherry picked from commit b40dd71) Co-authored-by: ram vikram singh <ramvikrams243@gmail.com> Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
1 parent f94ffcf commit a94f3ad

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Doc/library/stdtypes.rst

Lines changed: 2 additions & 2 deletions
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)
0