Change exc_type to kw only

This commit is contained in:
Bruno Oliveira 2024-04-20 10:14:52 -03:00
parent 3ca329b968
commit f14d78dbef
1 changed files with 1 additions and 0 deletions

View File

@ -197,6 +197,7 @@ def importorskip(
modname: str,
minversion: Optional[str] = None,
reason: Optional[str] = None,
*,
exc_type: Optional[Type[ImportError]] = None,
) -> Any:
"""Import and return the requested module ``modname``, or skip the