mirror of
https://github.com/python/cpython.git
synced 2025-08-03 08:34:29 +00:00
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
This commit is contained in:
parent
2dc1bbb659
commit
f47a400347
4 changed files with 15 additions and 13 deletions
|
@ -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.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue