summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>1997-10-24 21:15:55 (GMT)
committerFred Drake <fdrake@acm.org>1997-10-24 21:15:55 (GMT)
commit040e5652612a96b0046a25ba3f60dc0f8d0aad4d (patch)
tree2ffbe722212b9723ac24cfd6fdf348abd11fd96e
parentae18e9fc1c1f7f672a35c41df7f17f921b7c7f28 (diff)
downloadcpython-040e5652612a96b0046a25ba3f60dc0f8d0aad4d.zip
cpython-040e5652612a96b0046a25ba3f60dc0f8d0aad4d.tar.gz
cpython-040e5652612a96b0046a25ba3f60dc0f8d0aad4d.tar.bz2
Ooops, found too more references to old conditions on floating point values.
-rw-r--r--Doc/lib/libxdrlib.tex8
-rw-r--r--Doc/libxdrlib.tex8
2 files changed, 2 insertions, 14 deletions
diff --git a/Doc/lib/libxdrlib.tex b/Doc/lib/libxdrlib.tex
index a219f40..66fa4b4 100644
--- a/Doc/lib/libxdrlib.tex
+++ b/Doc/lib/libxdrlib.tex
@@ -36,11 +36,6 @@ type packing methods are supported: \code{pack_uint}, \code{pack_int},
\code{pack_enum}, \code{pack_bool}, \code{pack_uhyper},
and \code{pack_hyper}.
-The following methods pack floating point numbers, however they
-require C library support. Without the optional C built-in module,
-both of these methods will raise an \code{xdrlib.ConversionError}
-exception. See the note at the end of this chapter for details.
-
\begin{funcdesc}{pack_float}{value}
Packs the single-precision floating point number \var{value}.
\end{funcdesc}
@@ -138,8 +133,7 @@ if all of the data has not been unpacked.
In addition, every data type that can be packed with a \code{Packer},
can be unpacked with an \code{Unpacker}. Unpacking methods are of the
form \code{unpack_\var{type}}, and take no arguments. They return the
-unpacked object. The same caveats apply for \code{unpack_float} and
-\code{unpack_double} as above.
+unpacked object.
\begin{funcdesc}{unpack_float}{}
Unpacks a single-precision floating point number.
diff --git a/Doc/libxdrlib.tex b/Doc/libxdrlib.tex
index a219f40..66fa4b4 100644
--- a/Doc/libxdrlib.tex
+++ b/Doc/libxdrlib.tex
@@ -36,11 +36,6 @@ type packing methods are supported: \code{pack_uint}, \code{pack_int},
\code{pack_enum}, \code{pack_bool}, \code{pack_uhyper},
and \code{pack_hyper}.
-The following methods pack floating point numbers, however they
-require C library support. Without the optional C built-in module,
-both of these methods will raise an \code{xdrlib.ConversionError}
-exception. See the note at the end of this chapter for details.
-
\begin{funcdesc}{pack_float}{value}
Packs the single-precision floating point number \var{value}.
\end{funcdesc}
@@ -138,8 +133,7 @@ if all of the data has not been unpacked.
In addition, every data type that can be packed with a \code{Packer},
can be unpacked with an \code{Unpacker}. Unpacking methods are of the
form \code{unpack_\var{type}}, and take no arguments. They return the
-unpacked object. The same caveats apply for \code{unpack_float} and
-\code{unpack_double} as above.
+unpacked object.
\begin{funcdesc}{unpack_float}{}
Unpacks a single-precision floating point number.