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 eric.smith
Recipients eric.smith, georg.brandl, sneetsher
Date 2010-04-10.12:31:22
SpamBayes Score 0.00035256485
Marked as misclassified No
Message-id <1270902684.54.0.0845837811433.issue8359@psf.upfronthosting.co.za>
In-reply-to
Content
I don't understand how this:
n=1
print "One hour." % n

is different from this:
map={'n': 3}
print "One hour." % map

In any event, if str.format works for you, use that. It's the new style.
History
Date User Action Args
2010-04-10 12:31:24eric.smithsetrecipients: + eric.smith, georg.brandl, sneetsher
2010-04-10 12:31:24eric.smithsetmessageid: <1270902684.54.0.0845837811433.issue8359@psf.upfronthosting.co.za>
2010-04-10 12:31:22eric.smithlinkissue8359 messages
2010-04-10 12:31:22eric.smithcreate