[docs] [issue26241] repr() and str() are identical for floats in 3.5

Anders Rundgren report at bugs.python.org
Sat Jan 30 09:23:20 EST 2016


Anders Rundgren added the comment:

Apparently the docs have changed since 2.7:
https://docs.python.org/3.5/tutorial/floatingpoint.html

However, the documentation still "sort of" mentions repr() as the most accurate form which isn't entirely correct since it nowadays is identical to str() for floats.

No big deal, I just thought I was doing something wrong :-)

related: http://bugs.python.org/issue26229

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue26241>
_______________________________________


More information about the docs mailing list