summaryrefslogtreecommitdiffstats
path: root/Doc/library/importlib.rst
diff options
context:
space:
mode:
authorGarvit Khatri <garvit.khatri@zomato.com>2017-05-24 22:19:50 (GMT)
committerBrett Cannon <brettcannon@users.noreply.github.com>2017-05-24 22:19:50 (GMT)
commit94987826e89e8a89c20f081e18be33fc840e6203 (patch)
tree2520853181960af114e49c6635ee071b03e2af3c /Doc/library/importlib.rst
parent3480ef9dd3177be8c0d71a74853dca6e5b11fbe1 (diff)
downloadcpython-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/importlib.rst')
-rw-r--r--Doc/library/importlib.rst3
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