bpo-38351: Modernize email example from %-formatting to f-string#17162
bpo-38351: Modernize email example from %-formatting to f-string#17162taleinat merged 3 commits intopython:masterfrom
Conversation
301b3b0 to
9583f64
Compare
|
Thanks for the PR @dorosch! |
brandtbucher
left a comment
There was a problem hiding this comment.
I agree these should be updated, but f-strings are actually templated string literals (str.format is a third, different way of formatting strings).
You're almost there though... see my suggestions below:
Thanks for your feedback. I used |
brandtbucher
left a comment
There was a problem hiding this comment.
Great, just a couple more comments!
Misc/NEWS.d/next/Documentation/2019-11-15-09-22-28.bpo-38351.xwhlse.rst
Outdated
Show resolved
Hide resolved
|
The CI failure is unrelated. Pushing to this branch should trigger a new build. |
aeros
left a comment
There was a problem hiding this comment.
Thanks for the PR @dorosch and welcome! Other than a few minor details, the PR looks most of the way there after @brandtbucher's suggestions.
Misc/NEWS.d/next/Documentation/2019-11-15-09-22-28.bpo-38351.xwhlse.rst
Outdated
Show resolved
Hide resolved
|
It looks like the travis build failure was not related to the PR, committing the latest suggestions will restart the CI (or closing and reopening the PR). |
|
Looks like we crossed posts @aeros. 🙂 |
Haha, oops. 🙂 |
|
Good to see our comments are almost entirely identical. Haha. |
|
These changes can be backported to the 3.8 and 3.7 docs as well. |
Could you tell me how I can do this? |
|
That's a note for the core reviewer. Nothing required on your part @dorosch! |
Correct, but more specifically: when the |
Thanks for your explanation! |
…ythonGH-17162) (cherry picked from commit e8acc86) Co-authored-by: Andrey Doroschenko <dorosch.github.io@yandex.ru>
|
GH-17167 is a backport of this pull request to the 3.8 branch. |
|
GH-17168 is a backport of this pull request to the 3.7 branch. |
…ythonGH-17162) (cherry picked from commit e8acc86) Co-authored-by: Andrey Doroschenko <dorosch.github.io@yandex.ru>
|
Congrats on your first CPython contribution @dorosch! 🍾 Looking forward to seeing more from you in the future. |
@brandtbucher Thank you very much for your help |
https://bugs.python.org/issue38351