Mercurial > cpython-lru_cache-weakref
diff Doc/lib/libxdrlib.tex @ 7277:bf4e790bd61a legacy-trunk
Remove all \bcode / \ecode cruft; this is no longer needed. See previous
checkin of myformat.sty.
Change "\renewcommand{\indexsubitem}{(...)}" to "\setindexsubitem{(...)}"
everywhere.
Some other minor nits that I happened to come across.
| author | Fred Drake <fdrake@acm.org> |
|---|---|
| date | Fri, 13 Feb 1998 06:58:54 +0000 |
| parents | 640b97d105df |
| children | e1e76766d8ca |
line wrap: on
line diff
--- a/Doc/lib/libxdrlib.tex Fri Feb 13 06:48:05 1998 +0000 +++ b/Doc/lib/libxdrlib.tex Fri Feb 13 06:58:54 1998 +0000 @@ -4,7 +4,7 @@ \index{XDR} \index{External Data Representation} -\renewcommand{\indexsubitem}{(in module xdrlib)} +\setindexsubitem{(in module xdrlib)} The \code{xdrlib} module supports the External Data Representation @@ -215,11 +215,11 @@ Here is an example of how you would catch one of these exceptions: -\bcode\begin{verbatim} +\begin{verbatim} import xdrlib p = xdrlib.Packer() try: p.pack_double(8.01) except xdrlib.ConversionError, instance: print 'packing the double failed:', instance.msg -\end{verbatim}\ecode +\end{verbatim}
