From b849a1b7517492991b94cfa32714d37fcaf7b2ed Mon Sep 17 00:00:00 2001 From: nikalinov <92603661+nikalinov@users.noreply.github.com> Date: Tue, 21 Jan 2025 23:49:49 +0000 Subject: [PATCH] [3.12] gh-129044: Update glossary entry for 'loader' to reflect current import system (#129073) (#129130) * 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 | 8 +++++--- Doc/tools/.nitignore | 1 - 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/Doc/glossary.rst b/Doc/glossary.rst index 50ed5fc2bc09..be8201ef4194 100644 --- a/Doc/glossary.rst +++ b/Doc/glossary.rst @@ -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` diff --git a/Doc/tools/.nitignore b/Doc/tools/.nitignore index a721b494d750..325b149019d7 100644 --- a/Doc/tools/.nitignore +++ b/Doc/tools/.nitignore @@ -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 -- 2.47.3