Martin Panter added the comment:

Also in the first example, the colon (format specifier) and exclamation mark 
(conversion) are in the wrong order. It should either be

f"{expr3:!s}" → format(expr3, "!s")

or

f"{expr3!s:}" → format(str(expr3), "")

----------
nosy: +martin.panter

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue25206>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to