[Python-checkins] peps: ImportError -> ImportWarning.

eric.smith python-checkins at python.org
Fri Apr 20 10:51:44 CEST 2012


http://hg.python.org/peps/rev/594351f1c313
changeset:   4282:594351f1c313
user:        Eric V. Smith <eric at trueblade.com>
date:        Fri Apr 20 04:51:07 2012 -0400
summary:
  ImportError -> ImportWarning.

files:
  pep-0420.txt |  2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)


diff --git a/pep-0420.txt b/pep-0420.txt
--- a/pep-0420.txt
+++ b/pep-0420.txt
@@ -148,7 +148,7 @@
 path. With namespace packages, all entries in the path must be
 scanned.
 
-Note that an ImportError will no longer be raised for a directory
+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.

-- 
Repository URL: http://hg.python.org/peps


More information about the Python-checkins mailing list