We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent af58a6f commit 66ef161Copy full SHA for 66ef161
Doc/library/importlib.rst
@@ -124,6 +124,10 @@ Functions
124
need to call :func:`invalidate_caches` in order for the new module to be
125
noticed by the import system.
126
127
+ If the module cannot be imported, :func:`import_module` will raise
128
+ :exc:`ImportError` or an appropriate subclass like
129
+ :exc:`ModuleNotFoundError`.
130
+
131
.. versionchanged:: 3.3
132
Parent packages are automatically imported.
133
0 commit comments