Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 317350e

Browse files
miss-islingtonamaajemyfrenAA-Turnerwillingc
authored
[3.12] gh-85583: Add f-string index in tutorial/inputoutput.rst (GH-21681) (GH-126192)
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 --------- (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]>
1 parent 679dfae commit 317350e

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

Doc/tutorial/inputoutput.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,13 @@ yet another way to substitute values into strings, using placeholders like
100100
``$x`` and replacing them with values from a dictionary, but offers much less
101101
control of the formatting.
102102

103+
.. index::
104+
single: formatted string literal
105+
single: interpolated string literal
106+
single: string; formatted literal
107+
single: string; interpolated literal
108+
single: f-string
109+
single: fstring
103110

104111
.. _tut-f-strings:
105112

0 commit comments

Comments
 (0)