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 14fea6b commit 047548cCopy full SHA for 047548c
1 file changed
Doc/library/importlib.rst
@@ -124,6 +124,11 @@ 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 an
128
+ :exc:`ImportError`. If the module is found and loaded, but the code in the
129
+ module raises an exception, :func:`import_module` will pass that exception
130
+ to the module that called it.
131
+
132
.. versionchanged:: 3.3
133
Parent packages are automatically imported.
134
0 commit comments