From 7381e28399ea31b26dfa1f0e1db1a85bd4bf37c3 Mon Sep 17 00:00:00 2001 From: Fred Drake Date: Thu, 4 Dec 1997 04:51:12 +0000 Subject: [PATCH] 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. --- Doc/lib/libdis.tex | 12 ++++++------ Doc/libdis.tex | 12 ++++++------ 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/Doc/lib/libdis.tex b/Doc/lib/libdis.tex index 1fc63613b42..30d966df336 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 1fc63613b42..30d966df336 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}{}