[Python-checkins] r59953 - python/trunk/Doc/whatsnew/2.6.rst

andrew.kuchling python-checkins at python.org
Mon Jan 14 15:48:44 CET 2008


Author: andrew.kuchling
Date: Mon Jan 14 15:48:43 2008
New Revision: 59953
Modified:
 python/trunk/Doc/whatsnew/2.6.rst
Log:
Update description of float_info
Modified: python/trunk/Doc/whatsnew/2.6.rst
==============================================================================
--- python/trunk/Doc/whatsnew/2.6.rst	(original)
+++ python/trunk/Doc/whatsnew/2.6.rst	Mon Jan 14 15:48:43 2008
@@ -935,11 +935,11 @@
 .. 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.)
 


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /