[issue13811] In str.format, if invalid fill and alignment are specified, the text of the ValueError message is misleading.
Stefan Krah
report at bugs.python.org
Thu Jan 19 01:43:55 CET 2012
Stefan Krah <stefan-usenet at bytereef.org> added the comment:
Stefan Krah <report at bugs.python.org> wrote:
>> ["xx10d"]
> look at the code now, but would the message also be raised for this spec?
>
> format(9, "xx10f")
Argh, 'd' is of course also a valid type specifier.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue13811>
_______________________________________
More information about the Python-bugs-list
mailing list