This commit is contained in:
Samuel Sloniker 2025-07-10 06:54:29 +03:00 committed by GitHub
commit 91112853c6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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.