From 5c453ce3a4152f04d6be06c539102fd7185180cc Mon Sep 17 00:00:00 2001 From: Brett Cannon Date: Mon, 9 Jul 2012 14:40:38 -0400 Subject: [PATCH] Use the proper term. --- Doc/library/pkgutil.rst | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Doc/library/pkgutil.rst b/Doc/library/pkgutil.rst index f85bb0bec20..90ea8352663 100644 --- a/Doc/library/pkgutil.rst +++ b/Doc/library/pkgutil.rst @@ -139,12 +139,12 @@ support. *prefix* is a string to output on the front of every module name on output. .. note:: - Only works wtih a :term:`loader` which defines a ``iter_modules()`` + Only works with a :term:`finder` which defines a ``iter_modules()`` method, which is non-standard but implemented by classes defined in this module. .. versionchanged:: 3.3 - As of Python 3.3, the import system provides loaders by default, but they + As of Python 3.3, the import system provides finders by default, but they do not include the ``iter_modules()`` method required by this function. @@ -176,11 +176,11 @@ support. walk_packages(ctypes.__path__, ctypes.__name__ + '.') .. note:: - Only works for a :term:`loader` which define a ``iter_modules()`` method, + Only works for a :term:`finder` which define a ``iter_modules()`` method, which is non-standard but implemented by classes defined in this module. .. versionchanged:: 3.3 - As of Python 3.3, the import system provides loaders by default, but they + As of Python 3.3, the import system provides finders by default, but they do not include the ``iter_modules()`` method required by this function.