Georg Brandl ge...@python.org added the comment:
Committed in r85609.
--
nosy: +georg.brandl
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8556
___
Changes by Florent Xicluna florent.xicl...@gmail.com:
--
nosy: +flox
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8556
___
___
Python-bugs-list
Éric Araujo mer...@netwok.org added the comment:
Looks good to me.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8556
___
___
Python-bugs-list
Éric Araujo mer...@netwok.org added the comment:
Thanks for the suggestion. Two things:
1. Please provide a unified diff, as explained in http://www.python.org/dev/
2. I think “number” would be a better placeholder.
Regards
--
nosy: +merwok
___
Jeff McNeil j...@jmcneil.net added the comment:
Attaching a patch against the trunk, unified format, changed to 'number' as per
suggestion.
--
versions: +Python 2.7 -Python 2.6
Added file: http://bugs.python.org/file17155/stdtypes.rst.trunk.patch
New submission from Jeff McNeil j...@jmcneil.net:
I was going through the string formatting examples this evening and noticed
this:
print '%(language)s has %(#)03d quote types.' % \
{'language': Python, #: 2}
The example uses a '#' as a map key. This is somewhat misleading as if we