Skip to content

Commit

Permalink
pythongh-129044: Update glossary entry for 'loader' to reflect curren…
Browse files Browse the repository at this point in the history
…t import system (python#129073)

Co-authored-by: Adam Turner <[email protected]>
  • Loading branch information
nikalinov and AA-Turner authored Jan 20, 2025
1 parent 8ceb6cb commit e1fa2fc
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
8 changes: 5 additions & 3 deletions Doc/glossary.rst
Original file line number Diff line number Diff line change
Expand Up @@ -811,9 +811,11 @@ Glossary
processed.

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

* :ref:`finders-and-loaders`
* :class:`importlib.abc.Loader`
Expand Down
1 change: 0 additions & 1 deletion Doc/tools/.nitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ Doc/c-api/stable.rst
Doc/c-api/type.rst
Doc/c-api/typeobj.rst
Doc/extending/extending.rst
Doc/glossary.rst
Doc/library/ast.rst
Doc/library/asyncio-extending.rst
Doc/library/asyncio-subprocess.rst
Expand Down

0 comments on commit e1fa2fc

Please sign in to comment.