This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author mcjeff
Recipients docs@python, mcjeff
Date 2010-04-28.04:57:19
SpamBayes Score 0.022911021
Marked as misclassified No
Message-id <>
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 left the parenthesis off, the '#' would have been interpreted as an alternate conversion flag. Should be updated to use a more verbose (and less confusing) dictionary key.
Date User Action Args
2010-04-28 04:57:29mcjeffsetrecipients: + mcjeff, docs@python
2010-04-28 04:57:27mcjeffsetmessageid: <>
2010-04-28 04:57:23mcjefflinkissue8556 messages
2010-04-28 04:57:21mcjeffcreate