From: Brett Cannon Date: Mon, 9 Jul 2012 18:40:38 +0000 (-0400) Subject: Use the proper term. X-Git-Tag: v3.3.0b2~256 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=5c453ce3a4152f04d6be06c539102fd7185180cc;p=thirdparty%2FPython%2Fcpython.git Use the proper term. --- diff --git a/Doc/library/pkgutil.rst b/Doc/library/pkgutil.rst index f85bb0bec200..90ea83526630 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.