We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ea2c001 commit 7970a0bCopy full SHA for 7970a0b
Doc/library/pkgutil.rst
@@ -25,9 +25,9 @@ support.
25
from pkgutil import extend_path
26
__path__ = extend_path(__path__, __name__)
27
28
- This will add to the package's ``__path__`` all subdirectories of directories
29
- on :data:`sys.path` named after the package. This is useful if one wants to
30
- distribute different parts of a single logical package as multiple
+ For each directory on :data:`sys.path` that has a subdirectory that matches the
+ package name, add the subdirectory to the package's :attr:`__path__`. This is useful
+ if one wants to distribute different parts of a single logical package as multiple
31
directories.
32
33
It also looks for :file:`\*.pkg` files beginning where ``*`` matches the
0 commit comments