Message87430
"integer presentation types" is still not exactly correct, because there
are presentation types that work across value types. Specifically, 'n'
works on integers and floats. Precision is allowed for floats, but not ints:
>>> format(10.0, '.4n')
'10'
>>> format(10, '.4n')
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ValueError: Precision not allowed in integer format specifier
Without getting into all sorts of language lawyering, I think it's good
enough as-is. |
|
Date |
User |
Action |
Args |
2009-05-08 09:02:26 | eric.smith | set | recipients:
+ eric.smith, georg.brandl, terry.reedy, mark.dickinson |
2009-05-08 09:02:26 | eric.smith | set | messageid: <1241773346.49.0.741301308664.issue5963@psf.upfronthosting.co.za> |
2009-05-08 09:02:25 | eric.smith | link | issue5963 messages |
2009-05-08 09:02:24 | eric.smith | create | |
|