summaryrefslogtreecommitdiffstats
path: root/Doc/lib/libpprint.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Doc/lib/libpprint.tex')
-rw-r--r--Doc/lib/libpprint.tex7
1 files changed, 4 insertions, 3 deletions
diff --git a/Doc/lib/libpprint.tex b/Doc/lib/libpprint.tex
index 9c29370..6f03431 100644
--- a/Doc/lib/libpprint.tex
+++ b/Doc/lib/libpprint.tex
@@ -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)}