Skip to content
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

Merged
merged 6 commits into from
Dec 19, 2017
Merged

F-strings docs: fixing link to Format Specifiers #4931

merged 6 commits into from
Dec 19, 2017

Conversation

KatherineMichel
Copy link
Contributor

Submitting this PR to amend f-string docs update made by Mariatta: https://github.com/python/cpython/pull/4888/files#r157292842

: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
Copy link
Member

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.

Copy link
Member

@Mariatta Mariatta left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! 😄

@miss-islington
Copy link
Contributor

Thanks @KatherineMichel for the PR, and @Mariatta for merging it 🌮🎉.. I'm working now to backport this PR to: 3.6.
🐍🍒⛏🤖

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Dec 19, 2017
Mention that the format-specifier mini language in f-strings
is the same one used by str.format.
(cherry picked from commit f4e21a2)
@bedevere-bot
Copy link

GH-4933 is a backport of this pull request to the 3.6 branch.

@Mariatta
Copy link
Member

Thanks @KatherineMichel 🌮

@KatherineMichel
Copy link
Contributor Author

Woohoo congrats taco! @Mariatta

Mariatta pushed a commit that referenced this pull request Dec 19, 2017
…H-4933)

Mention that the format-specifier mini language in f-strings
is the same one used by str.format.
(cherry picked from commit f4e21a2)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Documentation in the Doc dir skip issue skip news
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants