[issue38351] Modernize email example from %-formatting to f-string
Eric V. Smith
report at bugs.python.org
Wed Oct 2 20:49:56 EDT 2019
Eric V. Smith <eric at trueblade.com> added the comment:
I definitely think we should not modify any code in the stdlib just to switch to f-strings.
I think the code examples in the docs would benefit from a consistent style, and since f-strings are the least verbose way to format strings, I'd endorse using them except where .format or %-formatting is the point of the example.
I agree with Fred that hearing from Julien would be helpful.
----------
nosy: +eric.smith
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue38351>
_______________________________________
More information about the Python-bugs-list
mailing list