summaryrefslogtreecommitdiffstats
path: root/Doc/library/pkgutil.rst
diff options
context:
space:
mode:
authorBrett Cannon <brett@python.org>2012-07-14 18:30:48 (GMT)
committerBrett Cannon <brett@python.org>2012-07-14 18:30:48 (GMT)
commit15810673dc33436cbf8d1a6a6f9622249845b205 (patch)
tree96dfdfd5c0205e392fc9adb7d1b88b96aea9d194 /Doc/library/pkgutil.rst
parentf877a7cce1a6e5848ce90937c89e15323d1599b3 (diff)
downloadcpython-15810673dc33436cbf8d1a6a6f9622249845b205.zip
cpython-15810673dc33436cbf8d1a6a6f9622249845b205.tar.gz
cpython-15810673dc33436cbf8d1a6a6f9622249845b205.tar.bz2
Minor grammatical tweaks.
Diffstat (limited to 'Doc/library/pkgutil.rst')
-rw-r--r--Doc/library/pkgutil.rst10
1 files changed, 6 insertions, 4 deletions
diff --git a/Doc/library/pkgutil.rst b/Doc/library/pkgutil.rst
index 90ea835..58e9a6e 100644
--- a/Doc/library/pkgutil.rst
+++ b/Doc/library/pkgutil.rst
@@ -139,13 +139,14 @@ support.
*prefix* is a string to output on the front of every module name on output.
.. note::
- Only works with a :term:`finder` which defines a ``iter_modules()``
+ Only works with a :term:`finder` which defines an ``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 finders by default, but they
- do not include the ``iter_modules()`` method required by this function.
+ do not include the non-standard ``iter_modules()`` method required by this
+ function.
.. function:: walk_packages(path=None, prefix='', onerror=None)
@@ -176,12 +177,13 @@ support.
walk_packages(ctypes.__path__, ctypes.__name__ + '.')
.. note::
- Only works for a :term:`finder` which define a ``iter_modules()`` method,
+ Only works for a :term:`finder` which define an ``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 finders by default, but they
- do not include the ``iter_modules()`` method required by this function.
+ do not include the non-standard ``iter_modules()`` method required by this
+ function.
.. function:: get_data(package, resource)