Fix docs on conditional expression grouping (GH-96447)

This commit is contained in:
Andrew Kay 2022-09-28 03:57:32 +01:00 committed by GitHub
parent cc0f3a10f0
commit d582edf0be
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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