]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.13] gh-129044: Update glossary entry for 'loader' to reflect current import system...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Mon, 20 Jan 2025 15:51:52 +0000 (16:51 +0100)
committerGitHub <noreply@github.com>
Mon, 20 Jan 2025 15:51:52 +0000 (15:51 +0000)
gh-129044: Update glossary entry for 'loader' to reflect current import system (GH-129073)
(cherry picked from commit e1fa2fcc7c1bf5291a7f71300b7828b49be9ab72)

Co-authored-by: nikalinov <92603661+nikalinov@users.noreply.github.com>
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
Doc/glossary.rst
Doc/tools/.nitignore

index d8488ca99246d2e22e19c54a35198f79571375d7..858c2b39ee5e330f396f7720b448c28c3a64c831 100644 (file)
@@ -801,9 +801,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 8485766034ca77c73d31750951fc2e600f04f8fc..9e36087ff10c3e68922a66bd45d0c705497b9d3b 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-policy.rst