[docs] [issue21195] None float format: incomplete documentation

Eric O. LEBIGOT report at bugs.python.org
Thu Apr 10 15:30:26 CEST 2014


Eric O. LEBIGOT added the comment:

These examples are good.

I am confused, though, about "The SO question is asking about an empty "presentation type", which is indeed similar to 'g' for floats.": the question is actually about why the '' format gives a result that differs from the 'g' format despite the Python 2.7 documentation saying that a "None" format type is "The same as 'g'.". Both the SO question and your examples show that the Python 2.7 documentation is incorrect, unless the other commenters and I were missing something…

Clarifying the documentation would in any case be useful, as the comments to the SO question show…

----------

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


More information about the docs mailing list