]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.11] Docs: Use 'f-strings' as header (GH-112888) (#112924)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sun, 10 Dec 2023 09:36:25 +0000 (10:36 +0100)
committerGitHub <noreply@github.com>
Sun, 10 Dec 2023 09:36:25 +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 b25d2c862927fe89cf3d385ae9343690d05479a4..fa7608f94c385a71423dffc534f66495df345cb5 100644 (file)
@@ -690,10 +690,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