Serhiy Storchaka <[email protected]> added the comment:
I like this!
Except that I think that !f is not needed. You can use repr by default only
when no format spec is specified, and add explicit !r if you want to use repr
with the format spec. If you want to format the value without repr and the
format spec -- specify the empty format spec: f"{foo=:}".
----------
nosy: +serhiy.storchaka
_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue36817>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com