[issue38351] Modernize email example from %-formatting to f-string
Fred L. Drake, Jr.
report at bugs.python.org
Thu Oct 3 01:45:58 EDT 2019
Fred L. Drake, Jr. <fdrake at gmail.com> added the comment:
I'd like to see consistent usage by default, with specific examples using the older forms as appropriate. The use cases Raymond identified are worth discussing (and the tutorial may be a good place for this), and well as mentioned in the reference docs for the '%s' % x and ''.format() operations (and string.Template(), of course).
I would not like to see different syntaxes randomly applied to different examples that happen to involve formatting, but where that's not the emphasis.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue38351>
_______________________________________
More information about the Python-bugs-list
mailing list