From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Mon, 20 Jan 2025 15:51:52 +0000 (+0100) Subject: [3.13] gh-129044: Update glossary entry for 'loader' to reflect current import system... X-Git-Tag: v3.13.2~75 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2f8eefe97ab03ecf92f85918a2b4cb23be7ee04c;p=thirdparty%2FPython%2Fcpython.git [3.13] gh-129044: Update glossary entry for 'loader' to reflect current import system (GH-129073) (#129077) 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> --- diff --git a/Doc/glossary.rst b/Doc/glossary.rst index d8488ca99246..858c2b39ee5e 100644 --- a/Doc/glossary.rst +++ b/Doc/glossary.rst @@ -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` diff --git a/Doc/tools/.nitignore b/Doc/tools/.nitignore index 8485766034ca..9e36087ff10c 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-policy.rst