Eric V. Smith added the comment: But I admit that dropping the trailing } seems odd. I think this particular usage should be an error: no bare } allowed, similar to:
>>> f'10}' File "<stdin>", line 1 SyntaxError: f-string: single '}' is not allowed ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue29104> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com