New GitHub issue #96417 from kaya3:<br>

<hr>

<pre>
# Documentation

Quoting from [6.17 Operator Precedence](https://docs.python.org/3/reference/expressions.html#operator-precedence):

> Operators in the same box group left to right (except for exponentiation, which groups from right to left).

Another exception should be included for conditional expressions, which also group from right to left: `a if b else c if d else e` is equivalent to `a if b else (c if d else e)`, not `(a if b else c) if d else e`.
</pre>

<hr>

<a href="https://github.com/python/cpython/issues/96417">View on GitHub</a>
<p>Labels: docs</p>
<p>Assignee: </p>