[docs] [issue13790] In str.format an incorrect error message for list, tuple, dict, set

py.user report at bugs.python.org
Fri Jun 13 03:21:30 CEST 2014

py.user added the comment:

Python 2.7.7 is still printing.

>>> format([], 'd')
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ValueError: Unknown format code 'd' for object of type 'str'


Python tracker <report at bugs.python.org>

More information about the docs mailing list