]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-129044: Update glossary entry for 'loader' to reflect current import system (...
authornikalinov <92603661+nikalinov@users.noreply.github.com>
Mon, 20 Jan 2025 15:46:09 +0000 (15:46 +0000)
committerGitHub <noreply@github.com>
Mon, 20 Jan 2025 15:46:09 +0000 (15:46 +0000)
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
Doc/glossary.rst
Doc/tools/.nitignore

index 33e77c9de211eb0254a51efceedd802184feb5e0..e3a14601398e89268699fd7449b40fb887858eb7 100644 (file)
@@ -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`
index 6940c95ab2c9a113129269ba3b0430f491c89f5b..ad24fe82f754fcf3db00153564140f367f4662e3 100644 (file)
@@ -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