]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.12] Docs: Use 'f-strings' as header (GH-112888) (#112923)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sun, 10 Dec 2023 09:36:01 +0000 (10:36 +0100)
committerGitHub <noreply@github.com>
Sun, 10 Dec 2023 09:36:01 +0000 (11:36 +0200)
Docs: Use 'f-strings' as header (GH-112888)
(cherry picked from commit 5bf7580d72259d7d64f5ee8cfc2df677de5310a4)

Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
Doc/reference/lexical_analysis.rst

index 55945e57befb92cb4cf1af74197323345d67350b..73542cfe5004c87fd57268d8e67abf8398b3f0a7 100644 (file)
@@ -708,10 +708,12 @@ and formatted string literals may be concatenated with plain string literals.
    single: ! (exclamation); in formatted string literal
    single: : (colon); in formatted string literal
    single: = (equals); for help in debugging using string literals
+
 .. _f-strings:
+.. _formatted-string-literals:
 
-Formatted string literals
--------------------------
+f-strings
+---------
 
 .. versionadded:: 3.6