Message81951
| Author |
terry.reedy |
| Recipients |
LambertDW, eric.smith, ezio.melotti, mark.dickinson, pitrou, terry.reedy |
| Date |
2009年02月13日.16:37:11 |
| SpamBayes Score |
0.00016685454 |
| Marked as misclassified |
No |
| Message-id |
<1234543032.98.0.417521487772.issue5237@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
All I am requesting is that
'{} {} {}'.format(3, 'pi', 3.14) work as
>>> '%s %s %s' % (3, 'pi', 3.14)
'3 pi 3.14'
>>> '{0} {1} {2}'.format(3, 'pi', 3.14)
'3 pi 3.14'
do today (3.0).
I should note that the difference between typing {}, which is easy, and
{1}, is more than just one keystroke because the latter requires
unshift-1-shift |
|