Skip to content

Conversation

@hugovk
Copy link
Member

@hugovk hugovk commented Dec 8, 2023

Most people know them as f-strings, use this as the title. The introductory paragraph uses both terms:

A formatted string literal or f-string is a string literal that is prefixed with 'f' or 'F'.

Keep both terms as a Sphinx reference for linking:


📚 Documentation preview 📚: https://cpython-previews--112888.org.readthedocs.build/

@hugovk hugovk added docs Documentation in the Doc dir needs backport to 3.11 only security fixes needs backport to 3.12 only security fixes labels Dec 8, 2023
@hugovk hugovk merged commit 5bf7580 into python:main Dec 10, 2023
@hugovk hugovk deleted the f-strings branch December 10, 2023 08:39
@miss-islington-app
Copy link

Thanks @hugovk for the PR 🌮🎉.. I'm working now to backport this PR to: 3.11, 3.12.
🐍🍒⛏🤖

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Dec 10, 2023
(cherry picked from commit 5bf7580)

Co-authored-by: Hugo van Kemenade <[email protected]>
@bedevere-app
Copy link

bedevere-app bot commented Dec 10, 2023

GH-112923 is a backport of this pull request to the 3.12 branch.

@bedevere-app bedevere-app bot removed the needs backport to 3.12 only security fixes label Dec 10, 2023
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Dec 10, 2023
(cherry picked from commit 5bf7580)

Co-authored-by: Hugo van Kemenade <[email protected]>
@bedevere-app
Copy link

bedevere-app bot commented Dec 10, 2023

GH-112924 is a backport of this pull request to the 3.11 branch.

@bedevere-app bedevere-app bot removed the needs backport to 3.11 only security fixes label Dec 10, 2023
hugovk added a commit that referenced this pull request Dec 10, 2023
Docs: Use 'f-strings' as header (GH-112888)
(cherry picked from commit 5bf7580)

Co-authored-by: Hugo van Kemenade <[email protected]>
hugovk added a commit that referenced this pull request Dec 10, 2023
Docs: Use 'f-strings' as header (GH-112888)
(cherry picked from commit 5bf7580)

Co-authored-by: Hugo van Kemenade <[email protected]>
aisk pushed a commit to aisk/cpython that referenced this pull request Feb 11, 2024
Glyphack pushed a commit to Glyphack/cpython that referenced this pull request Sep 2, 2024
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.

2 participants