Message87394
String Services / Format Specification Mini-Language (7.1.3.1 in 3.1)
"The precision is ignored for integer values."
in 3.0.1 and 3.1.b1 and, I presume in 2.6/7 doc
should be "A precision is not allowed for integer values."
(3.0.1)
>> format(10, '3x')
' a'
>>> format(10, '.3x')
Traceback (most recent call last):
File "<pyshell#2>", line 1, in <module>
format(10, '.3x')
ValueError: Precision not allowed in integer format specifier
(I assume but cannot check that 2.6/7 behave the same.) |
|
Date |
User |
Action |
Args |
2009-05-07 19:31:51 | terry.reedy | set | recipients:
+ terry.reedy, georg.brandl |
2009-05-07 19:31:51 | terry.reedy | set | messageid: <1241724711.12.0.650660352068.issue5963@psf.upfronthosting.co.za> |
2009-05-07 19:31:49 | terry.reedy | link | issue5963 messages |
2009-05-07 19:31:48 | terry.reedy | create | |
|