[issue9139] Add examples for str.format()

Eric Smith report at bugs.python.org
Fri Jul 2 23:41:19 CEST 2010


Eric Smith <eric at trueblade.com> added the comment:

I think I'd just delete both instances of "now". And now that I read it more critically, "position" should be "positional". How's this rewording:

.. versionchanged:: 2.7
   The positional argument specifiers can be omitted, so ``'{} {}'`` is
   equivalent to ``'{0} {1}'``.

----------

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


More information about the Python-bugs-list mailing list