mirror of
https://github.com/python/cpython.git
synced 2025-11-11 14:44:57 +00:00
clarified (in the 5.14 summary) that tests and comparisons all chain,
added a specific \ref to 5.9 in lieu of previous vague "see above". (same as commit of Sun Nov 2 to the release23-maint branch)
This commit is contained in:
parent
37dc334276
commit
c516b0e47c
1 changed files with 3 additions and 3 deletions
|
|
@ -1068,9 +1068,9 @@ precedences\indexii{operator}{precedence} in Python, from lowest
|
||||||
precedence (least binding) to highest precedence (most binding).
|
precedence (least binding) to highest precedence (most binding).
|
||||||
Operators in the same box have the same precedence. Unless the syntax
|
Operators in the same box have the same precedence. Unless the syntax
|
||||||
is explicitly given, operators are binary. Operators in the same box
|
is explicitly given, operators are binary. Operators in the same box
|
||||||
group left to right (except for comparisons, which chain from left to
|
group left to right (except for comparisons, including tests, which all
|
||||||
right --- see above, and exponentiation, which groups from right to
|
have the same precedence and chain from left to right --- see section
|
||||||
left).
|
\ref{comparisons} -- and exponentiation, which groups from right to left).
|
||||||
|
|
||||||
\begin{tableii}{c|l}{textrm}{Operator}{Description}
|
\begin{tableii}{c|l}{textrm}{Operator}{Description}
|
||||||
\lineii{\keyword{lambda}} {Lambda expression}
|
\lineii{\keyword{lambda}} {Lambda expression}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue