diff options
author | Fred Drake <fdrake@acm.org> | 1998-03-08 07:03:27 (GMT) |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 1998-03-08 07:03:27 (GMT) |
commit | b55f9d3dfc966a597797d94195402e63b2efd90a (patch) | |
tree | 2c242a40ae8319d1b104e389eeeb109a7bfa3fc8 | |
parent | cc444e39e5f50c9cc197cee4892ef197d51886b7 (diff) | |
download | cpython-b55f9d3dfc966a597797d94195402e63b2efd90a.zip cpython-b55f9d3dfc966a597797d94195402e63b2efd90a.tar.gz cpython-b55f9d3dfc966a597797d94195402e63b2efd90a.tar.bz2 |
Small nits.
Don't run into the right margin.
-rw-r--r-- | Doc/lib/libpprint.tex | 7 | ||||
-rw-r--r-- | Doc/libpprint.tex | 7 |
2 files changed, 8 insertions, 6 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)} diff --git a/Doc/libpprint.tex b/Doc/libpprint.tex index 9c29370..6f03431 100644 --- a/Doc/libpprint.tex +++ b/Doc/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)} |