]> granicus.if.org Git - python/commitdiff
bpo-29928: Add f-string to the Glossary (GH-864)
authorMariatta <Mariatta@users.noreply.github.com>
Thu, 30 Mar 2017 19:12:18 +0000 (12:12 -0700)
committerGitHub <noreply@github.com>
Thu, 30 Mar 2017 19:12:18 +0000 (12:12 -0700)
Doc/glossary.rst

index 495934afe74c8b927393164be23520ddf141c346..81238414efe49d805931c5c5271491cc9efcc8af 100644 (file)
@@ -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 <f-strings>`.  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