]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Small nits.
authorFred Drake <fdrake@acm.org>
Sun, 8 Mar 1998 07:03:27 +0000 (07:03 +0000)
committerFred Drake <fdrake@acm.org>
Sun, 8 Mar 1998 07:03:27 +0000 (07:03 +0000)
Don't run into the right margin.

Doc/lib/libpprint.tex
Doc/libpprint.tex

index 9c29370f830b3720d99f475397809262513b071c..6f034317671c139837907f80e15030bd09098500 100644 (file)
@@ -19,7 +19,6 @@ you need to adjust the width constraint.
 
 The \module{pprint} module defines one class:
 
-\setindexsubitem{(in module pprint)}
 
 % First the implementation class:
 
@@ -126,20 +125,22 @@ recursive data structures.  If the representation of \var{object}
 exposes a recursive entry, the recursive reference will be represented
 as \samp{<Recursion on \var{typename} with id=\var{number}>}.  The
 representation is not otherwise formatted.
+\end{funcdesc}
 
+% This example is outside the {funcdesc} to keep it from running over
+% the right margin.
 \begin{verbatim}
 >>> pprint.saferepr(stuff)
 "[<Recursion on list with id=682968>, '', '/usr/local/lib/python1.4', '/usr/loca
 l/lib/python1.4/test', '/usr/local/lib/python1.4/sunos5', '/usr/local/lib/python
 1.4/sharedmodules', '/usr/local/lib/python1.4/tkinter']"
 \end{verbatim}
-\end{funcdesc}
 
 
 \subsection{PrettyPrinter Objects}
 \label{PrettyPrinter Objects}
 
-PrettyPrinter instances have the following methods:
+\class{PrettyPrinter} instances have the following methods:
 
 \setindexsubitem{(PrettyPrinter method)}
 
index 9c29370f830b3720d99f475397809262513b071c..6f034317671c139837907f80e15030bd09098500 100644 (file)
@@ -19,7 +19,6 @@ you need to adjust the width constraint.
 
 The \module{pprint} module defines one class:
 
-\setindexsubitem{(in module pprint)}
 
 % First the implementation class:
 
@@ -126,20 +125,22 @@ recursive data structures.  If the representation of \var{object}
 exposes a recursive entry, the recursive reference will be represented
 as \samp{<Recursion on \var{typename} with id=\var{number}>}.  The
 representation is not otherwise formatted.
+\end{funcdesc}
 
+% This example is outside the {funcdesc} to keep it from running over
+% the right margin.
 \begin{verbatim}
 >>> pprint.saferepr(stuff)
 "[<Recursion on list with id=682968>, '', '/usr/local/lib/python1.4', '/usr/loca
 l/lib/python1.4/test', '/usr/local/lib/python1.4/sunos5', '/usr/local/lib/python
 1.4/sharedmodules', '/usr/local/lib/python1.4/tkinter']"
 \end{verbatim}
-\end{funcdesc}
 
 
 \subsection{PrettyPrinter Objects}
 \label{PrettyPrinter Objects}
 
-PrettyPrinter instances have the following methods:
+\class{PrettyPrinter} instances have the following methods:
 
 \setindexsubitem{(PrettyPrinter method)}