Message83546
I'm thinking of allowing you to mix keywords and auto-numbering, but not
manual numbering and auto-numbering. This would be so we could do:
>>> '{:{fmt}} {:{fmt}}'.format(3.1415, 2.71828, fmt='1.4f')
'pi=3.1415 e=2.7183'
Unfortunately the ':' is required, because if it's not there you have 2
braces next to each other, which is the escape sequence for a single brace. |
|
Date |
User |
Action |
Args |
2009-03-13 23:51:28 | eric.smith | set | recipients:
+ eric.smith, gvanrossum, terry.reedy, mark.dickinson, ncoghlan, orsenthil, pitrou, LambertDW, ezio.melotti |
2009-03-13 23:51:27 | eric.smith | set | messageid: <1236988287.94.0.772153678696.issue5237@psf.upfronthosting.co.za> |
2009-03-13 23:51:03 | eric.smith | link | issue5237 messages |
2009-03-13 23:51:03 | eric.smith | create | |
|