diff options
Diffstat (limited to 'Doc/libxdrlib.tex')
-rw-r--r-- | Doc/libxdrlib.tex | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/Doc/libxdrlib.tex b/Doc/libxdrlib.tex index 1221fff..0de5695 100644 --- a/Doc/libxdrlib.tex +++ b/Doc/libxdrlib.tex @@ -1,4 +1,5 @@ \section{Standard module \sectcode{xdrlib}} +\label{module-xdrlib} \stmodindex{xdrlib} \index{XDR} @@ -221,15 +222,15 @@ variables. Here is an example of how you would catch one of these exceptions: -\begin{verbatim} +\bcode\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} - +\end{verbatim}\ecode +% \subsection{Supporting Floating Point Data} Packing and unpacking floating point data, |