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

Eric V. Smith report at bugs.python.org
Sat Jan 21 18:35:19 CET 2012

Eric V. Smith <eric at trueblade.com> added the comment:

The error message will be: "non-empty format string passed to object.__format__".

I agree with your comment about Terry's patch.


Python tracker <report at bugs.python.org>

More information about the Python-bugs-list mailing list