summaryrefslogtreecommitdiffstats
path: root/Doc/glossary.rst
diff options
context:
space:
mode:
authorBrett Cannon <bcannon@gmail.com>2009-03-21 03:11:16 (GMT)
committerBrett Cannon <bcannon@gmail.com>2009-03-21 03:11:16 (GMT)
commite43b060b05e3d99f83bc900e5efc5cdb34298888 (patch)
tree750d9fdf871efccd124512002e46ba584e92739f /Doc/glossary.rst
parentb487e632826a45bb81925d1577856637c3fcafa0 (diff)
downloadcpython-e43b060b05e3d99f83bc900e5efc5cdb34298888.zip
cpython-e43b060b05e3d99f83bc900e5efc5cdb34298888.tar.gz
cpython-e43b060b05e3d99f83bc900e5efc5cdb34298888.tar.bz2
Document import's semantics for the language reference. This includes filling
in missing details for the sys module.
Diffstat (limited to 'Doc/glossary.rst')
-rw-r--r--Doc/glossary.rst6
1 files changed, 4 insertions, 2 deletions
diff --git a/Doc/glossary.rst b/Doc/glossary.rst
index c9808fe..c4b6358 100644
--- a/Doc/glossary.rst
+++ b/Doc/glossary.rst
@@ -182,7 +182,8 @@ Glossary
finder
An object that tries to find the :term:`loader` for a module. It must
implement a method named :meth:`find_module`. See :pep:`302` for
- details.
+ details and :class:`importlib.abc.Finder` for an
+ :term:`abstract base class`.
floor division
Mathematical division discarding any remainder. The floor division
@@ -363,7 +364,8 @@ Glossary
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 :pep:`302` for details.
+ :term:`finder`. See :pep:`302` for details and
+ :class:`importlib.abc.Loader` for an :term:`abstract base class`.
mapping
A container object (such as :class:`dict`) which supports arbitrary key