[issue5237] Allow auto-numbered replacement fields in str.format() strings

Nick Coghlan report at bugs.python.org
Tue Mar 10 10:13:58 CET 2009


Nick Coghlan <ncoghlan at gmail.com> added the comment:

Terry covered how to document the feature in his original description of
the proposal. After the phrase "either the numeric
index of a positional argument, or the name of a keyword argument." in
the docs, add a sentence along the lines of the following:

  "If the index/name is left out for all replacement fields, then the
sequential values 0, 1, ... will be automatically inserted."

----------
message_count: 20.0 -> 21.0

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


More information about the Python-bugs-list mailing list