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

R. David Murray report at bugs.python.org
Mon Jan 16 00:49:49 CET 2012


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

"an empty format string" is exactly what I was talking about.  Putting nothing between the {}'s is an empty format string.  I can't think of any way to make that wording clearer.

The format docs should not contains examples of the repr of all possible python objects.  The examples of what tuples and lists and dicts &c look like are shown in the docs for those objects.

----------

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


More information about the Python-bugs-list mailing list