diff options
author | Martin Panter <vadmium+py@gmail.com> | 2016-05-15 00:13:04 (GMT) |
---|---|---|
committer | Martin Panter <vadmium+py@gmail.com> | 2016-05-15 00:13:04 (GMT) |
commit | f47a40034763e9877861d995402715ca0dedb17c (patch) | |
tree | 9b75a3df16b8ae2ce66e9e45a2eef858ca5ff201 /Doc/library/pkgutil.rst | |
parent | 2dc1bbb659eb1812ec4d556573fc51b4426889e7 (diff) | |
download | cpython-f47a40034763e9877861d995402715ca0dedb17c.zip cpython-f47a40034763e9877861d995402715ca0dedb17c.tar.gz cpython-f47a40034763e9877861d995402715ca0dedb17c.tar.bz2 |
Issue #25533: Update documentation regarding the frozen modules table
* "ctypes" documentation was using Python 2 bytes-str equivalence.
* PyImport_FrozenModules is a pointer to const as of Python 3.4
Diffstat (limited to 'Doc/library/pkgutil.rst')
-rw-r--r-- | Doc/library/pkgutil.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/pkgutil.rst b/Doc/library/pkgutil.rst index 5d3295d..26c5ac0 100644 --- a/Doc/library/pkgutil.rst +++ b/Doc/library/pkgutil.rst @@ -140,7 +140,7 @@ support. .. function:: iter_modules(path=None, prefix='') Yields ``(module_finder, name, ispkg)`` for all submodules on *path*, or, if - path is ``None``, all top-level modules on ``sys.path``. + *path* is ``None``, all top-level modules on ``sys.path``. *path* should be either ``None`` or a list of paths to look for modules in. @@ -161,7 +161,7 @@ support. .. function:: walk_packages(path=None, prefix='', onerror=None) Yields ``(module_finder, name, ispkg)`` for all modules recursively on - *path*, or, if path is ``None``, all accessible modules. + *path*, or, if *path* is ``None``, all accessible modules. *path* should be either ``None`` or a list of paths to look for modules in. |