From: Zachary Ware Date: Wed, 9 Jul 2025 21:33:45 +0000 (-0500) Subject: gh-136145: Define 'standard library' and 'stdlib' in the glossary (GH-136146) X-Git-Tag: v3.15.0a1~1034 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=92f392ad9e5e10ff98eac319e58ec79df5951ce0;p=thirdparty%2FPython%2Fcpython.git 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 --- diff --git a/Doc/glossary.rst b/Doc/glossary.rst index c5c7994f1262..705b0a9279c6 100644 --- a/Doc/glossary.rst +++ b/Doc/glossary.rst @@ -1280,6 +1280,16 @@ Glossary and ending with double underscores. Special methods are documented in :ref:`specialnames`. + standard library + The collection of :term:`packages `, :term:`modules ` + and :term:`extension modules ` distributed as a part + of the official Python interpreter package. The exact membership of the + collection may vary based on platform, available system libraries, or + other criteria. Documentation can be found at :ref:`library-index`. + + See also :data:`sys.stdlib_module_names` for a list of all possible + standard library module names. + statement A statement is part of a suite (a "block" of code). A statement is either an :term:`expression` or one of several constructs with a keyword, such @@ -1290,6 +1300,9 @@ Glossary issues such as incorrect types. See also :term:`type hints ` and the :mod:`typing` module. + stdlib + An abbreviation of :term:`standard library`. + strong reference In Python's C API, a strong reference is a reference to an object which is owned by the code holding the reference. The strong