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