diff options
author | Garvit Khatri <garvit.khatri@zomato.com> | 2017-05-24 22:19:50 (GMT) |
---|---|---|
committer | Brett Cannon <brettcannon@users.noreply.github.com> | 2017-05-24 22:19:50 (GMT) |
commit | 94987826e89e8a89c20f081e18be33fc840e6203 (patch) | |
tree | 2520853181960af114e49c6635ee071b03e2af3c /Doc/library | |
parent | 3480ef9dd3177be8c0d71a74853dca6e5b11fbe1 (diff) | |
download | cpython-94987826e89e8a89c20f081e18be33fc840e6203.zip cpython-94987826e89e8a89c20f081e18be33fc840e6203.tar.gz cpython-94987826e89e8a89c20f081e18be33fc840e6203.tar.bz2 |
bpo-29851: Have importlib.reload() raise ImportError if the module's spec is not found (GH-972)
Diffstat (limited to 'Doc/library')
-rw-r--r-- | Doc/library/importlib.rst | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Doc/library/importlib.rst b/Doc/library/importlib.rst index 1fd5698..1df6130 100644 --- a/Doc/library/importlib.rst +++ b/Doc/library/importlib.rst @@ -203,6 +203,9 @@ Functions classes. .. versionadded:: 3.4 + .. versionchanged:: 3.7 + :exc:`ModuleNotFoundError` is raised when the module being reloaded lacks + a :class:`ModuleSpec`. :mod:`importlib.abc` -- Abstract base classes related to import |