[issue24965] Implement PEP 498: Literal String Formatting

Eric V. Smith report at bugs.python.org
Fri Sep 18 02:40:16 CEST 2015


Eric V. Smith added the comment:

> Martin Panter added the comment:
> 
> Another strange error message (though maybe the new test changes you mentioned caught this):
> 
>>>> f'{3:{10}'  # Actually missing a closing bracket '}'
>   File "<stdin>", line 1
> SyntaxError: f-string: unexpected '}'

Yes, I found that one, too. Sorry to waste your time on this, but I literally just finished the test changes 15 minutes ago.

----------

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


More information about the Python-bugs-list mailing list