summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2000-12-11 22:39:24 +0000
committerFred Drake <fdrake@acm.org>2000-12-11 22:39:24 +0000
commit2a22200ab4e5799b5e0975a26a21bc406e89d850 (patch)
treec6045cde8997c335d21ebb9058bec74284620887
parent6bcf4c2a0b51ecb9002bcc96d71c354c6afe7990 (diff)
downloadcpython-git-2a22200ab4e5799b5e0975a26a21bc406e89d850.tar.gz
Adjust explanation of operator precedence summary -- exponentiation groups
from right to left! Closes bug #125391.
-rw-r--r--Doc/ref/ref5.tex3
1 files changed, 2 insertions, 1 deletions
diff --git a/Doc/ref/ref5.tex b/Doc/ref/ref5.tex
index a7e635153a..d4fa3af5d7 100644
--- a/Doc/ref/ref5.tex
+++ b/Doc/ref/ref5.tex
@@ -899,7 +899,8 @@ 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).
+right --- see above, and exponentiation, which groups from right to
+left).
\begin{tableii}{c|l}{textrm}{Operator}{Description}
\lineii{\keyword{lambda}} {Lambda expression}