From: Mariatta Date: Thu, 30 Mar 2017 19:12:18 +0000 (-0700) Subject: bpo-29928: Add f-string to the Glossary (GH-864) X-Git-Tag: v3.7.0a1~1032 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=33db068dac7686e37736f7ecf8abb2aee0345cf2;p=python bpo-29928: Add f-string to the Glossary (GH-864) --- diff --git a/Doc/glossary.rst b/Doc/glossary.rst index 495934afe7..81238414ef 100644 --- a/Doc/glossary.rst +++ b/Doc/glossary.rst @@ -320,6 +320,11 @@ Glossary A module written in C or C++, using Python's C API to interact with the core and with user code. + f-string + String literals prefixed with ``'f'`` or ``'F'`` are commonly called + "f-strings" which is short for + :ref:`formatted string literals `. See also :pep:`498`. + file object An object exposing a file-oriented API (with methods such as :meth:`read()` or :meth:`write()`) to an underlying resource. Depending