This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: format() default precisions undocumented
Type: Stage: resolved
Components: Documentation Versions: Python 3.3, Python 3.4, Python 2.7
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: eric.smith Nosy List: eric.smith, georg.brandl, python-dev
Priority: normal Keywords:

Created on 2013-04-14 10:07 by georg.brandl, last changed 2022-04-11 14:57 by admin. This issue is now closed.

Messages (3)
msg186902 - (view) Author: Georg Brandl (georg.brandl) * (Python committer) Date: 2013-04-14 10:07
The docs for % formatting say what the default precision for presentation types e, f, g is.  I couldn't find the same for format().
msg186990 - (view) Author: Roundup Robot (python-dev) (Python triager) Date: 2013-04-15 13:56
New changeset 725d6347ac7e by Eric V. Smith in branch '2.7':
Issue #17728: Specify default precision for float.format for presentation types e, f, and g.
http://hg.python.org/cpython/rev/725d6347ac7e

New changeset ad481c95a1d4 by Eric V. Smith in branch '3.3':
Issue #17728: Specify default precision for float.format for presentation types e, f, and g.
http://hg.python.org/cpython/rev/ad481c95a1d4

New changeset 413c0b0a105f by Eric V. Smith in branch 'default':
Issue #17728: Merge with 3.3.
http://hg.python.org/cpython/rev/413c0b0a105f
msg187024 - (view) Author: Georg Brandl (georg.brandl) * (Python committer) Date: 2013-04-15 19:43
Thanks!
History
Date User Action Args
2022-04-11 14:57:44adminsetgithub: 61928
2013-04-15 19:43:04georg.brandlsetmessages: + msg187024
2013-04-15 13:59:31eric.smithsetstatus: open -> closed
resolution: fixed
stage: resolved
2013-04-15 13:56:08python-devsetnosy: + python-dev
messages: + msg186990
2013-04-14 10:07:44georg.brandlcreate