[docs] "What's new in Python 2.7" makes a confusing statement about string/float conversions.

Georg Brandl georg at python.org
Sun Jul 11 11:25:24 CEST 2010


Am 07.07.2010 20:37, schrieb Paul Berry:
> I found this phrase in the section
> http://docs.python.org/whatsnew/2.7.html#python-3-1-features
> 
> Float-to-string and string-to-float conversions now round their results more
> correctly, and repr() of a floating-point number x returns a result that’s
> guaranteed to round back to the same number when converted back to a string.
> 
> I think this should say "...when converted back to a float."

Hi Paul,

thanks for the report, this is now fixed and will be online shortly.

regards,
Georg


More information about the docs mailing list