Issue #15767: Revert 3a50025f1900 for ModuleNotFoundError

This commit is contained in:
Brett Cannon 2013-07-04 17:48:16 -04:00
parent 45091c0a0c
commit 82da8886cc
10 changed files with 807 additions and 842 deletions

View file

@ -185,8 +185,7 @@ The following exceptions are the exceptions that are usually raised.
A subclass of :exc:`ImportError` which is raised by :keyword:`import` when a
module could not be located. This includes ``from ... import`` statements as
the specific attribute being requested cannot be known a priori to be a module
or some other type of object. It is also raised when ``None`` is found in
:data:`sys.modules`.
or some other type of object.
.. versionadded:: 3.4