From: Fred Drake Date: Thu, 4 Dec 1997 04:51:12 +0000 (+0000) Subject: Fixed BINARY_RSHIFT documentation to indicate a right shift instead of a left X-Git-Tag: v1.5b2~101 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7381e28399ea31b26dfa1f0e1db1a85bd4bf37c3;p=python 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. --- diff --git a/Doc/lib/libdis.tex b/Doc/lib/libdis.tex index 1fc63613b4..30d966df33 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 1fc63613b4..30d966df33 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}{}