mirror of
https://github.com/python/cpython.git
synced 2025-08-02 16:13:13 +00:00
gh-100556: Improve clarity of or
docs (#100589)
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
This commit is contained in:
parent
350ba7c07f
commit
b40dd71241
1 changed files with 2 additions and 2 deletions
|
@ -84,8 +84,8 @@ These are the Boolean operations, ordered by ascending priority:
|
|||
+-------------+---------------------------------+-------+
|
||||
| Operation | Result | Notes |
|
||||
+=============+=================================+=======+
|
||||
| ``x or y`` | if *x* is false, then *y*, else | \(1) |
|
||||
| | *x* | |
|
||||
| ``x or y`` | if *x* is true, then *x*, else | \(1) |
|
||||
| | *y* | |
|
||||
+-------------+---------------------------------+-------+
|
||||
| ``x and y`` | if *x* is false, then *x*, else | \(2) |
|
||||
| | *y* | |
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue