Skip to content

Commit edc3356

Browse files
miss-islingtonpablogsal
authored andcommitted
Fix docs on conditional expression grouping (GH-96447) (GH-97606)
1 parent f0cbc6c commit edc3356

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/reference/expressions.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -1892,7 +1892,7 @@ The following table summarizes the operator precedence in Python, from highest
18921892
precedence (most binding) to lowest precedence (least binding). Operators in
18931893
the same box have the same precedence. Unless the syntax is explicitly given,
18941894
operators are binary. Operators in the same box group left to right (except for
1895-
exponentiation, which groups from right to left).
1895+
exponentiation and conditional expressions, which group from right to left).
18961896

18971897
Note that comparisons, membership tests, and identity tests, all have the same
18981898
precedence and have a left-to-right chaining feature as described in the

0 commit comments

Comments
 (0)