Message81947
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. |
|
Date |
User |
Action |
Args |
2009-02-13 16:25:58 | eric.smith | set | recipients:
+ eric.smith, terry.reedy, mark.dickinson, pitrou, LambertDW, ezio.melotti |
2009-02-13 16:25:58 | eric.smith | set | messageid: <1234542358.03.0.668824697207.issue5237@psf.upfronthosting.co.za> |
2009-02-13 16:25:57 | eric.smith | link | issue5237 messages |
2009-02-13 16:25:56 | eric.smith | create | |
|