Message81930
Unfortunately, `'{d}{s}{f}'.format(3, 'foo', 3.14)` can't work as you
expect it to, because it already means "display the keyword arguments
named `d`, `s` and `f`.
(I agree that the syntax for format() strings is exceedingly tedious)
On the other hand, `'{:d}{:s}{:f}'.format(3, 'foo', 3.14)` should be
possible. |
|
Date |
User |
Action |
Args |
2009-02-13 14:09:44 | pitrou | set | recipients:
+ pitrou, terry.reedy, mark.dickinson, eric.smith, LambertDW, ezio.melotti |
2009-02-13 14:09:44 | pitrou | set | messageid: <1234534184.57.0.555448268805.issue5237@psf.upfronthosting.co.za> |
2009-02-13 14:09:43 | pitrou | link | issue5237 messages |
2009-02-13 14:09:43 | pitrou | create | |
|