[issue8556] Confusing string formatting examples

2010-10-17 Thread Georg Brandl
Georg Brandl added the comment: Committed in r85609. -- nosy: +georg.brandl resolution: -> fixed status: open -> closed ___ Python tracker ___ __

[issue8556] Confusing string formatting examples

2010-09-09 Thread Florent Xicluna
Changes by Florent Xicluna : -- nosy: +flox ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.o

[issue8556] Confusing string formatting examples

2010-05-05 Thread Éric Araujo
Éric Araujo added the comment: Looks good to me. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail

[issue8556] Confusing string formatting examples

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

[issue8556] Confusing string formatting examples

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

[issue8556] Confusing string formatting examples

2010-04-27 Thread Jeff McNeil
New submission from Jeff McNeil : 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 had simply