https://github.com/python/cpython/commit/317350ec1bf340f2b871ecd215c951ea7adf975f
commit: 317350ec1bf340f2b871ecd215c951ea7adf975f
branch: 3.12
author: Miss Islington (bot) <[email protected]>
committer: willingc <[email protected]>
date: 2024-10-30T10:36:11-07:00
summary:

[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 a3443c0e22a8623afe4c0518433b28afbc3a6df6)

Co-authored-by: amaajemyfren <[email protected]>
Co-authored-by: Adam Turner <[email protected]>
Co-authored-by: Carol Willing <[email protected]>

files:
M Doc/tutorial/inputoutput.rst

diff --git a/Doc/tutorial/inputoutput.rst b/Doc/tutorial/inputoutput.rst
index 2e6fd419b21106..35b8c7cd8eb049 100644
--- a/Doc/tutorial/inputoutput.rst
+++ b/Doc/tutorial/inputoutput.rst
@@ -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:
 

_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-checkins.python.org/
Member address: [email protected]

Reply via email to