-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add f-string formatting to the docs #15367
Conversation
Huh weird. I used |
24e45aa is a new commit which just adds a reference to |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is great! Sorry I didn't get a chance to look properly before the release earlier
f'{"""nested " """}'` | ||
# This f-string cannot be formatted as follows when targeting Python < 3.12 | ||
f"{'''nested " '''}`` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hmm, what's with the backticks at the end of line 430 and 432?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh, thanks! They're totally not expected
Revive #15341 as it got removed from the latest rebase in #15238.