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

June 29, 2012
6:17 p.m.
Serhiy Storchaka <storchaka@gmail.com> added the comment:
'%d' % ([],) Traceback (most recent call last): File "<stdin>", line 1, in <module> TypeError: %d format: a number is required, not list
---------- nosy: +storchaka _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue13790> _______________________________________
4636
Age (days ago)
4636
Last active (days ago)
0 comments
1 participants
participants (1)
-
Serhiy Storchaka