mirror of
https://github.com/python/cpython.git
synced 2025-09-26 18:29:57 +00:00
Issue #15767: Revert 3a50025f1900 for ModuleNotFoundError
This commit is contained in:
parent
45091c0a0c
commit
82da8886cc
10 changed files with 807 additions and 842 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue