mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
Merge 7623c39b9c
into 61dd9fdad7
This commit is contained in:
commit
91112853c6
1 changed files with 4 additions and 0 deletions
|
@ -124,6 +124,10 @@ 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
|
||||
:exc:`ImportError` or an appropriate subclass like
|
||||
:exc:`ModuleNotFoundError`.
|
||||
|
||||
.. versionchanged:: 3.3
|
||||
Parent packages are automatically imported.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue