make exc kwonly
This commit is contained in:
parent
e74a6da699
commit
6e40458fc1
|
@ -252,6 +252,7 @@ def importorskip(
|
||||||
modname: str,
|
modname: str,
|
||||||
minversion: Optional[str] = None,
|
minversion: Optional[str] = None,
|
||||||
reason: Optional[str] = None,
|
reason: Optional[str] = None,
|
||||||
|
*,
|
||||||
exc: Type[ImportError] = ImportError,
|
exc: Type[ImportError] = ImportError,
|
||||||
) -> Any:
|
) -> Any:
|
||||||
"""Import and return the requested module ``modname``, or skip the
|
"""Import and return the requested module ``modname``, or skip the
|
||||||
|
|
Loading…
Reference in New Issue