summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>1997-12-04 04:51:12 (GMT)
committerFred Drake <fdrake@acm.org>1997-12-04 04:51:12 (GMT)
commit7381e28399ea31b26dfa1f0e1db1a85bd4bf37c3 (patch)
tree381b899e62685058b0aa2a5a23c81cbe6f34680b
parentc2297c1ce9cdfe302f86e4ce41c84eb3dfeca8b2 (diff)
downloadcpython-7381e28399ea31b26dfa1f0e1db1a85bd4bf37c3.zip
cpython-7381e28399ea31b26dfa1f0e1db1a85bd4bf37c3.tar.gz
cpython-7381e28399ea31b26dfa1f0e1db1a85bd4bf37c3.tar.bz2
Fixed BINARY_RSHIFT documentation to indicate a right shift instead of a left
shift. Adjust whitespace around "=" in VM machine descriptions to be consistent throughout the document.
-rw-r--r--Doc/lib/libdis.tex12
-rw-r--r--Doc/libdis.tex12
2 files changed, 12 insertions, 12 deletions
diff --git a/Doc/lib/libdis.tex b/Doc/lib/libdis.tex
index 1fc6361..30d966d 100644
--- a/Doc/lib/libdis.tex
+++ b/Doc/lib/libdis.tex
@@ -204,7 +204,7 @@ Implements \code{TOS = TOS1 << TOS }.
\end{opcodedesc}
\begin{opcodedesc}{BINARY_RSHIFT}{}
-Implements \code{TOS = TOS1 << TOS }.
+Implements \code{TOS = TOS1 >> TOS }.
\end{opcodedesc}
\begin{opcodedesc}{BINARY_AND}{}
@@ -241,19 +241,19 @@ Slice assignment needs even an additional parameter. As any statement,
they put nothing on the stack.
\begin{opcodedesc}{STORE_SLICE+0}{}
-Implements \code{TOS[:]=TOS1}.
+Implements \code{TOS[:] = TOS1}.
\end{opcodedesc}
\begin{opcodedesc}{STORE_SLICE+1}{}
-Implements \code{TOS1[TOS:]=TOS2}.
+Implements \code{TOS1[TOS:] = TOS2}.
\end{opcodedesc}
\begin{opcodedesc}{STORE_SLICE+2}{}
-Implements \code{TOS1[:TOS]=TOS2}.
+Implements \code{TOS1[:TOS] = TOS2}.
\end{opcodedesc}
\begin{opcodedesc}{STORE_SLICE+3}{}
-Implements \code{TOS2[TOS1:TOS]=TOS3}.
+Implements \code{TOS2[TOS1:TOS] = TOS3}.
\end{opcodedesc}
\begin{opcodedesc}{DELETE_SLICE+0}{}
@@ -273,7 +273,7 @@ Implements \code{del TOS2[TOS1:TOS]}.
\end{opcodedesc}
\begin{opcodedesc}{STORE_SUBSCR}{}
-Implements \code{TOS1[TOS]=TOS2}.
+Implements \code{TOS1[TOS] = TOS2}.
\end{opcodedesc}
\begin{opcodedesc}{DELETE_SUBSCR}{}
diff --git a/Doc/libdis.tex b/Doc/libdis.tex
index 1fc6361..30d966d 100644
--- a/Doc/libdis.tex
+++ b/Doc/libdis.tex
@@ -204,7 +204,7 @@ Implements \code{TOS = TOS1 << TOS }.
\end{opcodedesc}
\begin{opcodedesc}{BINARY_RSHIFT}{}
-Implements \code{TOS = TOS1 << TOS }.
+Implements \code{TOS = TOS1 >> TOS }.
\end{opcodedesc}
\begin{opcodedesc}{BINARY_AND}{}
@@ -241,19 +241,19 @@ Slice assignment needs even an additional parameter. As any statement,
they put nothing on the stack.
\begin{opcodedesc}{STORE_SLICE+0}{}
-Implements \code{TOS[:]=TOS1}.
+Implements \code{TOS[:] = TOS1}.
\end{opcodedesc}
\begin{opcodedesc}{STORE_SLICE+1}{}
-Implements \code{TOS1[TOS:]=TOS2}.
+Implements \code{TOS1[TOS:] = TOS2}.
\end{opcodedesc}
\begin{opcodedesc}{STORE_SLICE+2}{}
-Implements \code{TOS1[:TOS]=TOS2}.
+Implements \code{TOS1[:TOS] = TOS2}.
\end{opcodedesc}
\begin{opcodedesc}{STORE_SLICE+3}{}
-Implements \code{TOS2[TOS1:TOS]=TOS3}.
+Implements \code{TOS2[TOS1:TOS] = TOS3}.
\end{opcodedesc}
\begin{opcodedesc}{DELETE_SLICE+0}{}
@@ -273,7 +273,7 @@ Implements \code{del TOS2[TOS1:TOS]}.
\end{opcodedesc}
\begin{opcodedesc}{STORE_SUBSCR}{}
-Implements \code{TOS1[TOS]=TOS2}.
+Implements \code{TOS1[TOS] = TOS2}.
\end{opcodedesc}
\begin{opcodedesc}{DELETE_SUBSCR}{}