Skip to content

Commit 2f8eefe

Browse files
miss-islingtonnikalinovAA-Turner
authored
[3.13] gh-129044: Update glossary entry for 'loader' to reflect current import system (GH-129073) (#129077)
gh-129044: Update glossary entry for 'loader' to reflect current import system (GH-129073) (cherry picked from commit e1fa2fc) Co-authored-by: nikalinov <[email protected]> Co-authored-by: Adam Turner <[email protected]>
1 parent 55d3d81 commit 2f8eefe

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

Doc/glossary.rst

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -801,9 +801,11 @@ Glossary
801801
processed.
802802

803803
loader
804-
An object that loads a module. It must define a method named
805-
:meth:`load_module`. A loader is typically returned by a
806-
:term:`finder`. See also:
804+
An object that loads a module.
805+
It must define the :meth:`!exec_module` and :meth:`!create_module` methods
806+
to implement the :class:`~importlib.abc.Loader` interface.
807+
A loader is typically returned by a :term:`finder`.
808+
See also:
807809

808810
* :ref:`finders-and-loaders`
809811
* :class:`importlib.abc.Loader`

Doc/tools/.nitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ Doc/c-api/stable.rst
1212
Doc/c-api/type.rst
1313
Doc/c-api/typeobj.rst
1414
Doc/extending/extending.rst
15-
Doc/glossary.rst
1615
Doc/library/ast.rst
1716
Doc/library/asyncio-extending.rst
1817
Doc/library/asyncio-policy.rst

0 commit comments

Comments
 (0)