summaryrefslogtreecommitdiffstats
path: root/Doc/lib/libdis.tex
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2000-06-15 18:44:30 (GMT)
committerFred Drake <fdrake@acm.org>2000-06-15 18:44:30 (GMT)
commit9e759dfc31ac60ee5d0dc5ae3d548e62f7a45515 (patch)
tree0af79512e0542bec17ab2af731d2d34a4be73198 /Doc/lib/libdis.tex
parent56780257c624996758237f96ce59fe3068f86deb (diff)
downloadcpython-9e759dfc31ac60ee5d0dc5ae3d548e62f7a45515.zip
cpython-9e759dfc31ac60ee5d0dc5ae3d548e62f7a45515.tar.gz
cpython-9e759dfc31ac60ee5d0dc5ae3d548e62f7a45515.tar.bz2
Michael Hudson <mwh21@cam.ac.uk>:
This patch corrects a little glitch and two outright errors. (Including one reported earlier by Thomas Wouters.)
Diffstat (limited to 'Doc/lib/libdis.tex')
-rw-r--r--Doc/lib/libdis.tex8
1 files changed, 4 insertions, 4 deletions
diff --git a/Doc/lib/libdis.tex b/Doc/lib/libdis.tex
index 60c61ba..26cc567 100644
--- a/Doc/lib/libdis.tex
+++ b/Doc/lib/libdis.tex
@@ -154,7 +154,7 @@ Implements \code{TOS = `TOS`}.
\end{opcodedesc}
\begin{opcodedesc}{UNARY_INVERT}{}
-Implements \code{TOS = \~TOS}.
+Implements \code{TOS = \~{}TOS}.
\end{opcodedesc}
Binary operations remove the top of the stack (TOS) and the second top-most
@@ -174,7 +174,7 @@ Implements \code{TOS = TOS1 / TOS}.
\end{opcodedesc}
\begin{opcodedesc}{BINARY_MODULO}{}
-Implements \code{TOS = TOS1 \% TOS}.
+Implements \code{TOS = TOS1 \%{} TOS}.
\end{opcodedesc}
\begin{opcodedesc}{BINARY_ADD}{}
@@ -198,7 +198,7 @@ Implements \code{TOS = TOS1 >> TOS}.
\end{opcodedesc}
\begin{opcodedesc}{BINARY_AND}{}
-Implements \code{TOS = TOS1 and TOS}.
+Implements \code{TOS = TOS1 \&\ TOS}.
\end{opcodedesc}
\begin{opcodedesc}{BINARY_XOR}{}
@@ -206,7 +206,7 @@ Implements \code{TOS = TOS1 \^\ TOS}.
\end{opcodedesc}
\begin{opcodedesc}{BINARY_OR}{}
-Implements \code{TOS = TOS1 or TOS}.
+Implements \code{TOS = TOS1 | TOS}.
\end{opcodedesc}
The slice opcodes take up to three parameters.