summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>1998-04-13 16:15:02 (GMT)
committerFred Drake <fdrake@acm.org>1998-04-13 16:15:02 (GMT)
commit3e7a48e0d9b79bd7396066ea690a3012551b2747 (patch)
treefe17e4ca08ebaa02a4cbccd4558ec82a87b0d679 /Doc
parent1f7401673588056747810fe4df23c847f4319f83 (diff)
downloadcpython-3e7a48e0d9b79bd7396066ea690a3012551b2747.zip
cpython-3e7a48e0d9b79bd7396066ea690a3012551b2747.tar.gz
cpython-3e7a48e0d9b79bd7396066ea690a3012551b2747.tar.bz2
Revert markup around list of display fields from the disassembler; it doesn't
look at good in print, but doesn't break the HTML.
Diffstat (limited to 'Doc')
-rw-r--r--Doc/lib/libdis.tex8
-rw-r--r--Doc/libdis.tex8
2 files changed, 4 insertions, 12 deletions
diff --git a/Doc/lib/libdis.tex b/Doc/lib/libdis.tex
index 0340c4f..eb60150 100644
--- a/Doc/lib/libdis.tex
+++ b/Doc/lib/libdis.tex
@@ -51,18 +51,14 @@ is indicated.
Disassembles a code object, indicating the last instruction if \var{lasti}
was provided. The output is divided in the following columns:
-\newcounter{discounter}
-\begin{list}{\arabic{discounter}.}{%
- \usecounter{discounter}
- \setlength{\leftmargin}{4.5mm}
- \setlength{\labelsep}{1.5mm}}
+\begin{enumerate}
\item the current instruction, indicated as \samp{-->},
\item a labelled instruction, indicated with \samp{>>},
\item the address of the instruction,
\item the operation code name,
\item operation parameters, and
\item interpretation of the parameters in parentheses.
-\end{list}
+\end{enumerate}
The parameter interpretation recognizes local and global
variable names, constant values, branch targets, and compare
diff --git a/Doc/libdis.tex b/Doc/libdis.tex
index 0340c4f..eb60150 100644
--- a/Doc/libdis.tex
+++ b/Doc/libdis.tex
@@ -51,18 +51,14 @@ is indicated.
Disassembles a code object, indicating the last instruction if \var{lasti}
was provided. The output is divided in the following columns:
-\newcounter{discounter}
-\begin{list}{\arabic{discounter}.}{%
- \usecounter{discounter}
- \setlength{\leftmargin}{4.5mm}
- \setlength{\labelsep}{1.5mm}}
+\begin{enumerate}
\item the current instruction, indicated as \samp{-->},
\item a labelled instruction, indicated with \samp{>>},
\item the address of the instruction,
\item the operation code name,
\item operation parameters, and
\item interpretation of the parameters in parentheses.
-\end{list}
+\end{enumerate}
The parameter interpretation recognizes local and global
variable names, constant values, branch targets, and compare