Clarify * for subpackages.

This commit is contained in:
Martin v. Löwis 2010-05-31 07:47:31 +00:00
parent 319b990f1d
commit a2caa5e3b8
1 changed files with 2 additions and 1 deletions

View File

@ -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