Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions Doc/library/importlib.rst
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,11 @@ Functions
need to call :func:`invalidate_caches` in order for the new module to be
noticed by the import system.

If the module cannot be imported, :func:`import_module` will raise an
:exc:`ImportError`. If the module is found and loaded, but the code in the
module raises an exception, :func:`import_module` will pass that exception
to the module that called it.
Comment thread
brettcannon marked this conversation as resolved.
Outdated
Comment thread
kj7rrv marked this conversation as resolved.
Outdated
Comment thread
brettcannon marked this conversation as resolved.
Outdated

.. versionchanged:: 3.3
Parent packages are automatically imported.

Expand Down