Skip to content

Commit b849a1b

Browse files
nikalinovAA-Turner
andauthored
[3.12] gh-129044: Update glossary entry for 'loader' to reflect current import system (#129073) (#129130)
* gh-129044: Update glossary entry for 'loader' to reflect current import system (#129073) Co-authored-by: Adam Turner <[email protected]> (cherry picked from commit e1fa2fc) Co-authored-by: Adam Turner <[email protected]>
1 parent c75dcae commit b849a1b

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
@@ -748,9 +748,11 @@ Glossary
748748
processed.
749749

750750
loader
751-
An object that loads a module. It must define a method named
752-
:meth:`load_module`. A loader is typically returned by a
753-
:term:`finder`. See also:
751+
An object that loads a module.
752+
It must define the :meth:`!exec_module` and :meth:`!create_module` methods
753+
to implement the :class:`~importlib.abc.Loader` interface.
754+
A loader is typically returned by a :term:`finder`.
755+
See also:
754756

755757
* :ref:`finders-and-loaders`
756758
* :class:`importlib.abc.Loader`

Doc/tools/.nitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ Doc/c-api/stable.rst
1313
Doc/c-api/type.rst
1414
Doc/c-api/typeobj.rst
1515
Doc/extending/extending.rst
16-
Doc/glossary.rst
1716
Doc/library/2to3.rst
1817
Doc/library/aifc.rst
1918
Doc/library/ast.rst

0 commit comments

Comments
 (0)