Skip to content

Commit 92f392a

Browse files
zwarehugovkmerwok
authored
gh-136145: Define 'standard library' and 'stdlib' in the glossary (GH-136146)
--------- Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com> Co-authored-by: Éric <merwok@netwok.org>
1 parent e697f5e commit 92f392a

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

Doc/glossary.rst

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1280,6 +1280,16 @@ Glossary
12801280
and ending with double underscores. Special methods are documented in
12811281
:ref:`specialnames`.
12821282

1283+
standard library
1284+
The collection of :term:`packages <package>`, :term:`modules <module>`
1285+
and :term:`extension modules <extension module>` distributed as a part
1286+
of the official Python interpreter package. The exact membership of the
1287+
collection may vary based on platform, available system libraries, or
1288+
other criteria. Documentation can be found at :ref:`library-index`.
1289+
1290+
See also :data:`sys.stdlib_module_names` for a list of all possible
1291+
standard library module names.
1292+
12831293
statement
12841294
A statement is part of a suite (a "block" of code). A statement is either
12851295
an :term:`expression` or one of several constructs with a keyword, such
@@ -1290,6 +1300,9 @@ Glossary
12901300
issues such as incorrect types. See also :term:`type hints <type hint>`
12911301
and the :mod:`typing` module.
12921302

1303+
stdlib
1304+
An abbreviation of :term:`standard library`.
1305+
12931306
strong reference
12941307
In Python's C API, a strong reference is a reference to an object
12951308
which is owned by the code holding the reference. The strong

0 commit comments

Comments
 (0)