mirror of https://github.com/python/cpython
Fix docs on conditional expression grouping (GH-96447)
This commit is contained in:
parent
cc0f3a10f0
commit
d582edf0be
|
@ -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…
Reference in New Issue