Skip to content

Commit

Permalink
[3.11] Docs: Use 'f-strings' as header (pythonGH-112888) (python#112924)
Browse files Browse the repository at this point in the history
Docs: Use 'f-strings' as header (pythonGH-112888)
(cherry picked from commit 5bf7580)

Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
  • Loading branch information
miss-islington and hugovk authored Dec 10, 2023
1 parent 671f3d3 commit 58219bf
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Doc/reference/lexical_analysis.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 58219bf

Please sign in to comment.