Skip to content

Commit

Permalink
gh-85583: Add f-string index in tutorial/inputoutput.rst (GH-21681)
Browse files Browse the repository at this point in the history
* bpo-41411 fstring index in tutorial/inputoutput

To assist in searching for fstrings I have added an index

* Add newline

---------

Co-authored-by: Adam Turner <[email protected]>
Co-authored-by: Carol Willing <[email protected]>
  • Loading branch information
3 people authored Oct 30, 2024
1 parent cc9a183 commit a3443c0
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 a3443c0

Please sign in to comment.