https://github.com/python/cpython/commit/b849a1b7517492991b94cfa32714d37fcaf7b2ed commit: b849a1b7517492991b94cfa32714d37fcaf7b2ed branch: 3.12 author: nikalinov <[email protected]> committer: AA-Turner <[email protected]> date: 2025-01-21T23:49:49Z summary:
[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 <[email protected]> (cherry picked from commit e1fa2fcc7c1bf5291a7f71300b7828b49be9ab72) 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 50ed5fc2bc096c..be8201ef41941f 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 a721b494d750eb..325b149019d7da 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 _______________________________________________ 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]
