diff --git a/stdlib/2/__builtin__.pyi b/stdlib/2/__builtin__.pyi index 47edbd8e9..d5c4dbbd1 100644 --- a/stdlib/2/__builtin__.pyi +++ b/stdlib/2/__builtin__.pyi @@ -874,6 +874,9 @@ class BaseException(object): args = ... # type: Tuple[Any, ...] message = ... # type: str def __init__(self, *args: object, **kwargs: object) -> None: ... + def __getitem__(self, i: int) -> Any: ... + def __getslice__(self, start: int, stop: int) -> Tuple[Any, ...]: ... + class GeneratorExit(BaseException): ... class KeyboardInterrupt(BaseException): ... class SystemExit(BaseException):