diff --git a/stdlib/2/__builtin__.pyi b/stdlib/2/__builtin__.pyi index 0b8dfb1b3b19..47edbd8e9b24 100644 --- a/stdlib/2/__builtin__.pyi +++ b/stdlib/2/__builtin__.pyi @@ -873,7 +873,7 @@ class memoryview(Sized, Container[bytes]): class BaseException(object): args = ... # type: Tuple[Any, ...] message = ... # type: str - def __init__(self, *args: Any) -> None: ... + def __init__(self, *args: object, **kwargs: object) -> None: ... class GeneratorExit(BaseException): ... class KeyboardInterrupt(BaseException): ... class SystemExit(BaseException): diff --git a/stdlib/3/builtins.pyi b/stdlib/3/builtins.pyi index 7780fccc8113..91d4fe6a4a71 100644 --- a/stdlib/3/builtins.pyi +++ b/stdlib/3/builtins.pyi @@ -902,7 +902,7 @@ class BaseException: __cause__ = ... # type: BaseException __context__ = ... # type: BaseException __traceback__ = ... # type: TracebackType - def __init__(self, *args: object) -> None: ... + def __init__(self, *args: object, **kwargs: object) -> None: ... def with_traceback(self, tb: Any) -> BaseException: ... class GeneratorExit(BaseException): ...