Eric Smith e...@trueblade.com added the comment:
This is a duplicate of issue 6813, where it has been fixed. I'm closing it.
--
resolution: - duplicate
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6579
Eric Smith e...@trueblade.com added the comment:
In http://docs.python.org/3.1/library/string.html#format-string-syntax,
the auto-numbering is mentioned, in the sentence that starts If the
numerical arg_names in a format string are 0, 1, 2, ... in sequence,
they can all be omitted.
It's true
New submission from Jan Kaliszewski z...@chopin.edu.pl:
As we can read in http://docs.python.org/3.1/whatsnew/3.1.html#other-
language-changes:
The fields in format() strings can now be automatically numbered:
'Sir {} of {}'.format('Gallahad', 'Camelot')
'Sir Gallahad of Camelot'
Georg Brandl ge...@python.org added the comment:
The 2.6 one looks fine to me; 3.2 is correctly marked as in development
there.
I don't care about 3.0; it's not supported anymore.
--
resolution: - works for me
status: open - closed
___
Python
Georg Brandl ge...@python.org added the comment:
Argh, of course it's even more important to point to the current version
for 3.0... fixed in r74208.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6579
Changes by Georg Brandl ge...@python.org:
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6579
___
___
Python-bugs-list mailing list
Unsubscribe:
Georg Brandl ge...@python.org added the comment:
(Sorry for my confusion, reopening.)
--
assignee: georg.brandl - eric.smith
nosy: +eric.smith
resolution: works for me -
status: closed - open
___
Python tracker rep...@bugs.python.org