]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-135676: Reword the f-string (and t-string) section (GH-137469)
authorPetr Viktorin <encukou@gmail.com>
Wed, 3 Dec 2025 15:14:53 +0000 (16:14 +0100)
committerGitHub <noreply@github.com>
Wed, 3 Dec 2025 15:14:53 +0000 (16:14 +0100)
commitaea5531583aaa8bfdf3ebca914e9c694617c3489
tree5c4d5d2c2ee1dfa5a0f6fd977049d94007108531
parentf6f456f95092142c4b6d038b839975bf7db4d1f2
gh-135676: Reword the f-string (and t-string) section (GH-137469)

Much of the information was duplicated in stdtypes.rst; this PR keeps lexical/syntactical details in Lexical Analysis and the evaluation & runtime behaviour in Standard types, with cross-references between the two.
Since the t-string section only listed differences from f-strings, and the grammar for the two is equivalent, that section was moved to Standard types almost entirely.

Co-authored-by: Blaise Pabon <blaise@gmail.com>
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
Doc/library/stdtypes.rst
Doc/reference/expressions.rst
Doc/reference/lexical_analysis.rst