Skip to content

Commit

Permalink
[3.13] pythongh-85583: Add f-string index in tutorial/inputoutput.rst (
Browse files Browse the repository at this point in the history
…pythonGH-21681) (pythonGH-126191)

pythongh-85583: Add f-string index in tutorial/inputoutput.rst  (pythonGH-21681)

* bpo-41411 fstring index in tutorial/inputoutput

To assist in searching for fstrings I have added an index

* Add newline

---------

(cherry picked from commit a3443c0)

Co-authored-by: amaajemyfren <[email protected]>
Co-authored-by: Adam Turner <[email protected]>
Co-authored-by: Carol Willing <[email protected]>
  • Loading branch information
4 people authored Oct 30, 2024
1 parent d24ea89 commit 210bd2a
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions Doc/tutorial/inputoutput.rst
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,13 @@ yet another way to substitute values into strings, using placeholders like
``$x`` and replacing them with values from a dictionary, but offers much less
control of the formatting.

.. index::
single: formatted string literal
single: interpolated string literal
single: string; formatted literal
single: string; interpolated literal
single: f-string
single: fstring

.. _tut-f-strings:

Expand Down

0 comments on commit 210bd2a

Please sign in to comment.