Skip to content

Commit 7f7da5e

Browse files
committed
Simplify glossary entry for 'loader'
1 parent c1311b8 commit 7f7da5e

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

Doc/glossary.rst

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -811,12 +811,10 @@ Glossary
811811
processed.
812812

813813
loader
814-
An object that loads a module. It must define a method named
815-
:meth:`exec_module`, along with :meth:`create_module`.
816-
The :meth:`load_module` method, which was used in earlier
817-
versions of Python, has been deprecated since version 3.4
818-
and should no longer be implemented in new code. A loader is
819-
typically returned by a :term:`finder`. See also:
814+
An object that loads a module. It must define the
815+
:meth:`!exec_module` and :meth:`!create_module` methods
816+
to implement the :class:`~importlib.abc.Loader` interface.
817+
A loader is typically returned by a :term:`finder`. See also:
820818

821819
* :ref:`finders-and-loaders`
822820
* :class:`importlib.abc.Loader`

0 commit comments

Comments
 (0)