https://github.com/python/cpython/commit/e1fa2fcc7c1bf5291a7f71300b7828b49be9ab72
commit: e1fa2fcc7c1bf5291a7f71300b7828b49be9ab72
branch: main
author: nikalinov <[email protected]>
committer: AA-Turner <[email protected]>
date: 2025-01-20T15:46:09Z
summary:

gh-129044: Update glossary entry for 'loader' to reflect current import system 
(#129073)

Co-authored-by: Adam Turner <[email protected]>

files:
M Doc/glossary.rst
M Doc/tools/.nitignore

diff --git a/Doc/glossary.rst b/Doc/glossary.rst
index 33e77c9de211eb..e3a14601398e89 100644
--- a/Doc/glossary.rst
+++ b/Doc/glossary.rst
@@ -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`
diff --git a/Doc/tools/.nitignore b/Doc/tools/.nitignore
index 6940c95ab2c9a1..ad24fe82f754fc 100644
--- a/Doc/tools/.nitignore
+++ b/Doc/tools/.nitignore
@@ -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

_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-checkins.python.org/
Member address: [email protected]

Reply via email to