Fixed ImportWarning discussion.
This commit is contained in:
parent
45bbfe1672
commit
5e7ed448e8
|
@ -173,7 +173,7 @@ scanned.
|
|||
Note that an ImportWarning will no longer be raised for a directory
|
||||
lacking an ``__init__.py`` file. Such a directory will now be
|
||||
imported as a namespace package, whereas in prior Python versions an
|
||||
ImportError would be raised.
|
||||
ImportWarning would be raised.
|
||||
|
||||
At PyCon 2012, we had a discussion about namespace packages at which
|
||||
PEP 382 and PEP 402 were rejected, to be replaced by this PEP [2]_.
|
||||
|
|
Loading…
Reference in New Issue