Skip to content

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

Merged
Mariatta merged 6 commits into
python:masterfrom
KatherineMichel:f-strings-docs
Dec 19, 2017
Merged

F-strings docs: fixing link to Format Specifiers#4931
Mariatta merged 6 commits into
python:masterfrom
KatherineMichel:f-strings-docs

Conversation

@KatherineMichel

Copy link
Copy Markdown
Contributor

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

Comment thread 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

Copy link
Copy Markdown
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.

@Mariatta Mariatta left a comment

Copy link
Copy Markdown
Member

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
Copy Markdown
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
Copy Markdown

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

@Mariatta

Copy link
Copy Markdown
Member

Thanks @KatherineMichel 🌮

@KatherineMichel

Copy link
Copy Markdown
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