summaryrefslogtreecommitdiffstats
path: root/Doc/reference
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2023-12-10 09:36:01 (GMT)
committerGitHub <noreply@github.com>2023-12-10 09:36:01 (GMT)
commit81c2df0f8bc582005d179d786202470282e19bbf (patch)
treedb9367d5160e3960ed6f2135ca6d81a271925e87 /Doc/reference
parentfd5d3aec2a9a983ad155f7aa7907a5bcd8a4a19e (diff)
downloadcpython-81c2df0f8bc582005d179d786202470282e19bbf.zip
cpython-81c2df0f8bc582005d179d786202470282e19bbf.tar.gz
cpython-81c2df0f8bc582005d179d786202470282e19bbf.tar.bz2
[3.12] Docs: Use 'f-strings' as header (GH-112888) (#112923)
Docs: Use 'f-strings' as header (GH-112888) (cherry picked from commit 5bf7580d72259d7d64f5ee8cfc2df677de5310a4) Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
Diffstat (limited to 'Doc/reference')
-rw-r--r--Doc/reference/lexical_analysis.rst6
1 files changed, 4 insertions, 2 deletions
diff --git a/Doc/reference/lexical_analysis.rst b/Doc/reference/lexical_analysis.rst
index 55945e5..73542cf 100644
--- a/Doc/reference/lexical_analysis.rst
+++ b/Doc/reference/lexical_analysis.rst
@@ -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