[Python-checkins] r81616 - peps/trunk/pep-0382.txt

martin.v.loewis python-checkins at python.org
Mon May 31 09:47:31 CEST 2010


Author: martin.v.loewis
Date: Mon May 31 09:47:31 2010
New Revision: 81616

Log:
Clarify * for subpackages.


Modified:
   peps/trunk/pep-0382.txt

Modified: peps/trunk/pep-0382.txt
==============================================================================
--- peps/trunk/pep-0382.txt	(original)
+++ peps/trunk/pep-0382.txt	Mon May 31 09:47:31 2010
@@ -102,7 +102,8 @@
 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


More information about the Python-checkins mailing list