summaryrefslogtreecommitdiff
path: root/Doc
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2000-06-15 18:44:30 +0000
committerFred Drake <fdrake@acm.org>2000-06-15 18:44:30 +0000
commitfed3beaf74520b6bb8556e67b079924d8f3bfb05 (patch)
tree012359e138726e213afbfc333478c848df764c9e /Doc
parent714581e0e88f5741df4551a475d5748e914df02d (diff)
downloadcpython-fed3beaf74520b6bb8556e67b079924d8f3bfb05.tar.gz
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')
-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 60c61ba3e6..26cc56754b 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.