]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
clarified (in the 5.14 summary) that tests and comparisons all chain,
authorAlex Martelli <aleaxit@gmail.com>
Sun, 2 Nov 2003 16:11:48 +0000 (16:11 +0000)
committerAlex Martelli <aleaxit@gmail.com>
Sun, 2 Nov 2003 16:11:48 +0000 (16:11 +0000)
added a specific \ref to 5.9 in lieu of previous vague "see above".

Doc/ref/ref5.tex

index 738c153771815cba6ea152195f547fbbca4b83d4..ebab8c45010bbca287be4252d9c9d03fdedfdcc7 100644 (file)
@@ -1068,9 +1068,9 @@ precedences\indexii{operator}{precedence} in Python, from lowest
 precedence (least binding) to highest precedence (most 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 comparisons, which chain from left to
-right --- see above, and exponentiation, which groups from right to
-left).
+group left to right (except for comparisons, including tests, which all
+have the same precedence and chain from left to right --- see section
+\ref{comparisons} -- and exponentiation, which groups from right to left).
 
 \begin{tableii}{c|l}{textrm}{Operator}{Description}
     \lineii{\keyword{lambda}}                  {Lambda expression}