]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.12] gh-129044: Update glossary entry for 'loader' to reflect current import system...
authornikalinov <92603661+nikalinov@users.noreply.github.com>
Tue, 21 Jan 2025 23:49:49 +0000 (23:49 +0000)
committerGitHub <noreply@github.com>
Tue, 21 Jan 2025 23:49:49 +0000 (23:49 +0000)
* gh-129044: Update glossary entry for 'loader' to reflect current import system (#129073)

Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
(cherry picked from commit e1fa2fcc7c1bf5291a7f71300b7828b49be9ab72)

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

index 50ed5fc2bc096c03f0b459577221498cd6dad4f7..be8201ef41941f11be6c53c1b3979cda370354c0 100644 (file)
@@ -748,9 +748,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 a721b494d750eb2f0290f500d69306647a4a9509..325b149019d7da8c628b0017e81641e5279d8f63 100644 (file)
@@ -13,7 +13,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/2to3.rst
 Doc/library/aifc.rst
 Doc/library/ast.rst