diff options
Diffstat (limited to 'Doc/lib/libxdrlib.tex')
-rw-r--r-- | Doc/lib/libxdrlib.tex | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Doc/lib/libxdrlib.tex b/Doc/lib/libxdrlib.tex index 3cfa92c..681fc5e 100644 --- a/Doc/lib/libxdrlib.tex +++ b/Doc/lib/libxdrlib.tex @@ -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 @@ variables. 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} |