bpo-29928: Add f-string to the Glossary (GH-864) (GH-914) · python/cpython@7b5b137 (original) (raw)

Original file line number Diff line number Diff line change
@@ -320,6 +320,11 @@ Glossary
320 320 A module written in C or C++, using Python's C API to interact with the
321 321 core and with user code.
322 322
323 + f-string
324 + String literals prefixed with ``'f'`` or ``'F'`` are commonly called
325 + "f-strings" which is short for
326 +:ref:`formatted string literals <f-strings>`. See also :pep:`498`.
327 +
323 328 file object
324 329 An object exposing a file-oriented API (with methods such as
325 330 :meth:`read()` or :meth:`write()`) to an underlying resource. Depending