summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew M. Kuchling <amk@amk.ca>2008-01-14 14:48:43 (GMT)
committerAndrew M. Kuchling <amk@amk.ca>2008-01-14 14:48:43 (GMT)
commit5d8b379abcf9e200122c7c95fbf012a5c9ef8e32 (patch)
treeafd7ccbff786dcfcd2756a8fe8154663a95d3351
parent7a66a1becc0968fc271c590494be378d9d2a8962 (diff)
downloadcpython-5d8b379abcf9e200122c7c95fbf012a5c9ef8e32.zip
cpython-5d8b379abcf9e200122c7c95fbf012a5c9ef8e32.tar.gz
cpython-5d8b379abcf9e200122c7c95fbf012a5c9ef8e32.tar.bz2
Update description of float_info
-rw-r--r--Doc/whatsnew/2.6.rst8
1 files changed, 4 insertions, 4 deletions
diff --git a/Doc/whatsnew/2.6.rst b/Doc/whatsnew/2.6.rst
index 4d90d35..f31ebf7 100644
--- a/Doc/whatsnew/2.6.rst
+++ b/Doc/whatsnew/2.6.rst
@@ -935,11 +935,11 @@ complete list of changes, or look through the CVS logs for all the details.
.. Patch #957003
* A new variable in the :mod:`sys` module,
- :attr:`float_info`, is a dictionary
+ :attr:`float_info`, is an object
containing information about the platform's floating-point support
- derived from the :file:`float.h` file. Key/value pairs
- in this dictionary include
- ``"mant_dig"`` (number of digits in the mantissa), ``"epsilon"``
+ derived from the :file:`float.h` file. Attributes of this object
+ include
+ :attr:`mant_dig` (number of digits in the mantissa), :attr:`epsilon`
(smallest difference between 1.0 and the next largest value
representable), and several others. (Contributed by Christian Heimes.)