mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +00:00
Fix docs on conditional expression grouping (GH-96447)
This commit is contained in:
parent
cc0f3a10f0
commit
d582edf0be
1 changed files with 1 additions and 1 deletions
|
@ -1889,7 +1889,7 @@ The following table summarizes the operator precedence in Python, from highest
|
|||
precedence (most binding) to lowest precedence (least binding). Operators in
|
||||
the same box have the same precedence. Unless the syntax is explicitly given,
|
||||
operators are binary. Operators in the same box group left to right (except for
|
||||
exponentiation, which groups from right to left).
|
||||
exponentiation and conditional expressions, which group from right to left).
|
||||
|
||||
Note that comparisons, membership tests, and identity tests, all have the same
|
||||
precedence and have a left-to-right chaining feature as described in the
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue