Fixed ImportWarning discussion.

This commit is contained in:
Eric V. Smith 2012-04-26 11:05:41 -04:00
parent 45bbfe1672
commit 5e7ed448e8
1 changed files with 1 additions and 1 deletions

View File

@ -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]_.