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

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


Author: martin.v.loewis
Date: Mon May 31 09:33:53 2010
New Revision: 81615

Log:
Keep precedence for directories. Noticed by Brett Cannon.


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:33:53 2010
@@ -119,7 +119,7 @@
 this:
 
  1. sys.path is search for a directory foo, or a file foo.<ext>.
-    If a file is found, it is treated as a module, and imported.
+    If a file is found and no directory, it is treated as a module, and imported.
  2. if it is a directory, it checks for \*.pth files. If it finds
     any, a package is created, and its __path__ is extended.
  3. The __init__ module is imported; this import will search the


More information about the Python-checkins mailing list