Clarifaction about creating namespace packages. Thanks Carl Meyer.

This commit is contained in:
Eric V. Smith 2012-04-28 06:23:39 -04:00
parent 92e2f078f0
commit c583e83c4e
1 changed files with 2 additions and 2 deletions

View File

@ -122,8 +122,8 @@ for a module or package named "foo":
* If not, but ``foo`` is found and is a directory, it is recorded.
If the scan along the parent path completes without finding a module
or package, then a namespace package is created. The new namespace
package:
or package and at least one directory was recorded, then a namespace
package is created. The new namespace package:
* Has a ``__file__`` attribute set to the first directory that was
found during the scan, including the trailing path separator.