Make namespace_packages a set.

This commit is contained in:
Martin v. Löwis 2009-04-03 19:49:23 +00:00
parent b2aca805e1
commit 5b53a36458
1 changed files with 1 additions and 1 deletions

View File

@ -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__.