[Python-checkins] Fix docs on conditional expression grouping (GH-96447) (GH-97606)

rhettinger webhook-mailer at python.org
Wed Sep 28 09:46:03 EDT 2022


https://github.com/python/cpython/commit/88ab19e47e5b5695070bb97f1a5c946e49240181
commit: 88ab19e47e5b5695070bb97f1a5c946e49240181
branch: 3.11
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: rhettinger <rhettinger at users.noreply.github.com>
date: 2022-09-28T08:45:48-05:00
summary:

Fix docs on conditional expression grouping (GH-96447) (GH-97606)

files:
M Doc/reference/expressions.rst

diff --git a/Doc/reference/expressions.rst b/Doc/reference/expressions.rst
index edba1c834a5a..6d23e473cdcd 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



More information about the Python-checkins mailing list