Make namespace_packages a set.
This commit is contained in:
parent
b2aca805e1
commit
5b53a36458
|
@ -110,7 +110,7 @@ to the package's __path__ to indicate that the package is a namespace
|
|||
package (and that thus further extensions to sys.path might also
|
||||
want to extend __path__). At most one such asterisk gets prepended
|
||||
to the path. In addition, the (possibly dotted) names of all namespace
|
||||
packages are added to the list sys.namespace_packages.
|
||||
packages are added to the set sys.namespace_packages.
|
||||
|
||||
extend_path will be extended to recognize namespace packages according
|
||||
to this PEP, and avoid adding directories twice to __path__.
|
||||
|
|
Loading…
Reference in New Issue