Skip to content

Commit 7ccc1bc

Browse files
zwarehugovkmerwok
authored andcommitted
pythongh-136145: Define 'standard library' and 'stdlib' in the glossary (pythonGH-136146)
--------- (cherry picked from commit 92f392a) Co-authored-by: Zachary Ware <zach@python.org> Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com> Co-authored-by: Éric <merwok@netwok.org>
1 parent 6c81051 commit 7ccc1bc

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
@@ -1235,6 +1235,16 @@ Glossary
12351235
and ending with double underscores. Special methods are documented in
12361236
:ref:`specialnames`.
12371237

1238+
standard library
1239+
The collection of :term:`packages <package>`, :term:`modules <module>`
1240+
and :term:`extension modules <extension module>` distributed as a part
1241+
of the official Python interpreter package. The exact membership of the
1242+
collection may vary based on platform, available system libraries, or
1243+
other criteria. Documentation can be found at :ref:`library-index`.
1244+
1245+
See also :data:`sys.stdlib_module_names` for a list of all possible
1246+
standard library module names.
1247+
12381248
statement
12391249
A statement is part of a suite (a "block" of code). A statement is either
12401250
an :term:`expression` or one of several constructs with a keyword, such
@@ -1245,6 +1255,9 @@ Glossary
12451255
issues such as incorrect types. See also :term:`type hints <type hint>`
12461256
and the :mod:`typing` module.
12471257

1258+
stdlib
1259+
An abbreviation of :term:`standard library`.
1260+
12481261
strong reference
12491262
In Python's C API, a strong reference is a reference to an object
12501263
which is owned by the code holding the reference. The strong

0 commit comments

Comments
 (0)