[New-bugs-announce] [issue40899] Ddcument exceptions raised by importlib.import

Johannes Buchner report at bugs.python.org
Sun Jun 7 07:08:14 EDT 2020

New submission from Johannes Buchner <buchner.johannes at gmx.at>:

do not list which Exceptions are raised in case the module cannot be imported.

The two exceptions are listed here

Could you add a half-sentence "and raises an ModuleNotFoundError if import was unsuccessful." to the function docs?

assignee: docs at python
components: Documentation
messages: 370887
nosy: docs at python, j13r
priority: normal
severity: normal
status: open
title: Ddcument exceptions raised by importlib.import
versions: Python 3.10, Python 3.5, Python 3.6, Python 3.7, Python 3.8, Python 3.9

Python tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list