[issue8556] Confusing string formatting examples

2010-10-17 Thread Georg Brandl
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 ___

[issue8556] Confusing string formatting examples

2010-09-09 Thread Florent Xicluna
Changes by Florent Xicluna florent.xicl...@gmail.com: -- nosy: +flox ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8556 ___ ___ Python-bugs-list

[issue8556] Confusing string formatting examples

2010-05-05 Thread Éric Araujo
É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

[issue8556] Confusing string formatting examples

2010-04-30 Thread Éric Araujo
É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 ___

[issue8556] Confusing string formatting examples

2010-04-30 Thread Jeff McNeil
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

[issue8556] Confusing string formatting examples

2010-04-27 Thread Jeff McNeil
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