summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Kay <32057631+kaya3@users.noreply.github.com>2022-09-28 02:57:32 (GMT)
committerGitHub <noreply@github.com>2022-09-28 02:57:32 (GMT)
commitd582edf0be9251774722a00456b888ec3793b757 (patch)
treee984a1486e1a205df073a59e36cec9c9ac2d8be2
parentcc0f3a10f0ee507d9044ef9036cf3e711c5338a9 (diff)
downloadcpython-d582edf0be9251774722a00456b888ec3793b757.zip
cpython-d582edf0be9251774722a00456b888ec3793b757.tar.gz
cpython-d582edf0be9251774722a00456b888ec3793b757.tar.bz2
Fix docs on conditional expression grouping (GH-96447)
-rw-r--r--Doc/reference/expressions.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/reference/expressions.rst b/Doc/reference/expressions.rst
index edba1c8..6d23e47 100644
--- a/Doc/reference/expressions.rst
+++ b/Doc/reference/expressions.rst
@@ -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