Message86724
See the attached patch. Comments welcome.
I'm not sure I'm doing the right thing with 'g' and appending zeros:
>>> format(3+4j, '.2')
'(3+4j)'
>>> format(3+4j, '.2g')
'3.0+4.0j'
>>> format(3+0j, '.2')
'(3+0j)'
>>> format(3+0j, '.2g')
'3.0+0.0j'
>>> format(1j, '.2')
'(1j)'
>>> format(1j, '.2g')
'0.0+1.0j' |
|
Date |
User |
Action |
Args |
2009-04-28 10:56:21 | eric.smith | set | recipients:
+ eric.smith, gvanrossum, mark.dickinson, ajaksu2, mark |
2009-04-28 10:56:21 | eric.smith | set | messageid: <1240916181.12.0.0998537147653.issue1588@psf.upfronthosting.co.za> |
2009-04-28 10:56:19 | eric.smith | link | issue1588 messages |
2009-04-28 10:56:16 | eric.smith | create | |
|