Message83547
Copy and paste error. That should be:
>>> 'pi={:{fmt}} e={:{fmt}}'.format(3.1415, 2.71828, fmt='1.4f')
'pi=3.1415 e=2.7183' |
|
Date |
User |
Action |
Args |
2009-03-13 23:53:17 | eric.smith | set | recipients:
+ eric.smith, gvanrossum, terry.reedy, mark.dickinson, ncoghlan, orsenthil, pitrou, LambertDW, ezio.melotti |
2009-03-13 23:53:17 | eric.smith | set | messageid: <1236988397.67.0.450922789537.issue5237@psf.upfronthosting.co.za> |
2009-03-13 23:53:14 | eric.smith | link | issue5237 messages |
2009-03-13 23:53:14 | eric.smith | create | |
|