]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Docs: Use 'f-strings' as header (#112888)
authorHugo van Kemenade <hugovk@users.noreply.github.com>
Sun, 10 Dec 2023 08:39:51 +0000 (10:39 +0200)
committerGitHub <noreply@github.com>
Sun, 10 Dec 2023 08:39:51 +0000 (10:39 +0200)
Doc/reference/lexical_analysis.rst

index 3e07d16068a627946bebcb504a4d3670afb3414e..0adfb0365934e4a3a054519c27e5557063d9fda4 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