-
-
Notifications
You must be signed in to change notification settings - Fork 30.1k
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
F-strings docs: fixing link to Format Specifiers #4931
Conversation
Doc/reference/lexical_analysis.rst
Outdated
:ref:`format specifiers <formatspec>`, but may not include more | ||
deeply-nested replacement fields. | ||
Top-level format specifiers may include nested replacement fields. These nested | ||
fields may include their own conversion fields and format specifiers, but may |
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 mention of format specifiers should still be linked like before.
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.
Thanks! 😄
Thanks @KatherineMichel for the PR, and @Mariatta for merging it 🌮🎉.. I'm working now to backport this PR to: 3.6. |
Mention that the format-specifier mini language in f-strings is the same one used by str.format. (cherry picked from commit f4e21a2)
GH-4933 is a backport of this pull request to the 3.6 branch. |
Thanks @KatherineMichel 🌮 |
Woohoo congrats taco! @Mariatta |
Submitting this PR to amend f-string docs update made by Mariatta: https://github.com/python/cpython/pull/4888/files#r157292842