Clarifaction about creating namespace packages. Thanks Carl Meyer.
This commit is contained in:
parent
92e2f078f0
commit
c583e83c4e
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue