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 LambertDW, eric.smith, ezio.melotti, mark.dickinson, pitrou, terry.reedy
Date 2009-02-13.16:25:55
SpamBayes Score 0.0009218828
Marked as misclassified No
Message-id <1234542358.03.0.668824697207.issue5237@psf.upfronthosting.co.za>
In-reply-to
Content
Right. The colon would be required if there's a format specifier. Or an
exclamation if there's just a conversion specifier:

"{!r}{:f}{!s:^10}".format('foo', 3, 10)
would give:
"'foo'3.000000    10    "

I've attached a new version that includes format specifiers.
History
Date User Action Args
2009-02-13 16:25:58eric.smithsetrecipients: + eric.smith, terry.reedy, mark.dickinson, pitrou, LambertDW, ezio.melotti
2009-02-13 16:25:58eric.smithsetmessageid: <1234542358.03.0.668824697207.issue5237@psf.upfronthosting.co.za>
2009-02-13 16:25:57eric.smithlinkissue5237 messages
2009-02-13 16:25:56eric.smithcreate