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

Paul Berry stereotype441 at gmail.com
Wed Jul 7 20:37:44 CEST 2010


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."

Thanks,

Paul Berry
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/docs/attachments/20100707/a011563b/attachment.html>


More information about the docs mailing list