Skip to content

Commit e1fa2fc

Browse files
nikalinovAA-Turner
andauthored
gh-129044: Update glossary entry for 'loader' to reflect current import system (#129073)
Co-authored-by: Adam Turner <[email protected]>
1 parent 8ceb6cb commit e1fa2fc

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
@@ -811,9 +811,11 @@ Glossary
811811
processed.
812812

813813
loader
814-
An object that loads a module. It must define a method named
815-
:meth:`load_module`. A loader is typically returned by a
816-
:term:`finder`. See also:
814+
An object that loads a module.
815+
It must define the :meth:`!exec_module` and :meth:`!create_module` methods
816+
to implement the :class:`~importlib.abc.Loader` interface.
817+
A loader is typically returned by a :term:`finder`.
818+
See also:
817819

818820
* :ref:`finders-and-loaders`
819821
* :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-subprocess.rst

0 commit comments

Comments
 (0)