mirror of
https://github.com/python/cpython.git
synced 2025-12-07 17:57:56 +00:00
gh-85583: Add f-string index in tutorial/inputoutput.rst (GH-21681)
* 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 <9087854+AA-Turner@users.noreply.github.com> Co-authored-by: Carol Willing <carolcode@willingconsulting.com>
This commit is contained in:
parent
cc9a183993
commit
a3443c0e22
1 changed files with 7 additions and 0 deletions
|
|
@ -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
|
``$x`` and replacing them with values from a dictionary, but offers much less
|
||||||
control of the formatting.
|
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:
|
.. _tut-f-strings:
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue