New submission from Eric O. LEBIGOT:

The documentation for a None (empty) format for floats indicates that it is 
equivalent to the g format. This does not appear to be correct 
(http://stackoverflow.com/questions/16525924/precise-definition-of-float-string-formatting).

The Python 3.4 documentation 
(https://docs.python.org/3.4/library/string.html#format-specification-mini-language)
 seems to be much closer to what Python 2.7 does.

It would be useful to have a more correct documentation for the effect of a 
None format for floats in Python 2.7 (maybe by copying the Python 3.4 
documentation if it applies).

----------
assignee: docs@python
components: Documentation
messages: 215871
nosy: docs@python, lebigot
priority: normal
severity: normal
status: open
title: None float format: incomplete documentation
type: enhancement
versions: Python 2.7

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue21195>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to