mirror of
https://github.com/python/cpython.git
synced 2025-09-28 11:15:17 +00:00
bpo-29928: Add f-string to the Glossary (GH-864)
This commit is contained in:
parent
7a26464c64
commit
33db068dac
1 changed files with 5 additions and 0 deletions
|
@ -320,6 +320,11 @@ Glossary
|
||||||
A module written in C or C++, using Python's C API to interact with the
|
A module written in C or C++, using Python's C API to interact with the
|
||||||
core and with user code.
|
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
|
file object
|
||||||
An object exposing a file-oriented API (with methods such as
|
An object exposing a file-oriented API (with methods such as
|
||||||
:meth:`read()` or :meth:`write()`) to an underlying resource. Depending
|
:meth:`read()` or :meth:`write()`) to an underlying resource. Depending
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue