Clarify * for subpackages.
This commit is contained in:
parent
319b990f1d
commit
a2caa5e3b8
|
@ -102,7 +102,8 @@ with ".pth". Unlike .pth files on the top level, lines starting with
|
|||
In addition, the format of the ``*.pth`` file is extended: a line with
|
||||
the single character ``*`` indicates that the entire sys.path will
|
||||
be searched for portions of the namespace package at the time the
|
||||
namespace packages is imported.
|
||||
namespace packages is imported. For a sub-package, the package's
|
||||
__path__ is searched (instead of sys.path).
|
||||
|
||||
Importing a package will immediately compute the package's __path__;
|
||||
the ``*.pth`` files are not considered anymore after the initial
|
||||
|
|
Loading…
Reference in New Issue