]> granicus.if.org Git - python/commitdiff
Fixed BINARY_RSHIFT documentation to indicate a right shift instead of a left
authorFred Drake <fdrake@acm.org>
Thu, 4 Dec 1997 04:51:12 +0000 (04:51 +0000)
committerFred Drake <fdrake@acm.org>
Thu, 4 Dec 1997 04:51:12 +0000 (04:51 +0000)
shift.

Adjust whitespace around "=" in VM machine descriptions to be consistent
throughout the document.

Doc/lib/libdis.tex
Doc/libdis.tex

index 1fc63613b42c6fe3af1abd8afaf1b99fd75a6657..30d966df3366f369cc26053766624b3e042cc4ee 100644 (file)
@@ -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}{}
index 1fc63613b42c6fe3af1abd8afaf1b99fd75a6657..30d966df3366f369cc26053766624b3e042cc4ee 100644 (file)
@@ -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}{}