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

R. David Murray report at bugs.python.org
Sat Jan 21 15:20:13 CET 2012


R. David Murray <rdmurray at bitdance.com> added the comment:

So the error is going to be something about the source type not supporting '__format__'?

That change will also address the OP's concern about truncated reprs when a fixed string length is specified, so I agree that the title issue can be closed.  Terry's patch with the ("{}") removed should be committed, though.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue13790>
_______________________________________


More information about the docs mailing list