[issue13598] string.Formatter doesn't support empty curly braces "{}"

Vinay Sajip report at bugs.python.org
Sun Jan 20 14:03:20 CET 2013


Vinay Sajip added the comment:

Looking at Phil Elson's patch:

I didn't see a test case relating to the example in his comment, namely

f.format("{0:{}}", 'foo', 5)

Did I miss it? The documentation also needs to be updated.

----------

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


More information about the Python-bugs-list mailing list