doc exc param to importorskip
This commit is contained in:
parent
6e40458fc1
commit
ff12e083c5
|
@ -266,6 +266,9 @@ def importorskip(
|
||||||
:param reason:
|
:param reason:
|
||||||
If given, this reason is shown as the message when the module cannot
|
If given, this reason is shown as the message when the module cannot
|
||||||
be imported.
|
be imported.
|
||||||
|
:param exc:
|
||||||
|
Either ImportError or ModuleNotFoundError, the exception to catch
|
||||||
|
when importing.
|
||||||
|
|
||||||
:returns:
|
:returns:
|
||||||
The imported module. This should be assigned to its canonical name.
|
The imported module. This should be assigned to its canonical name.
|
||||||
|
|
Loading…
Reference in New Issue