diff --git a/stdlib/2/__builtin__.pyi b/stdlib/2/__builtin__.pyi index 13a6ef968ecc..eb3001ca37ec 100644 --- a/stdlib/2/__builtin__.pyi +++ b/stdlib/2/__builtin__.pyi @@ -841,13 +841,13 @@ class bool(int): def __getnewargs__(self) -> Tuple[int]: ... class slice(object): - start: Optional[int] - step: Optional[int] - stop: Optional[int] + start: Any + step: Any + stop: Any @overload - def __init__(self, stop: Optional[int]) -> None: ... + def __init__(self, stop: Any) -> None: ... @overload - def __init__(self, start: Optional[int], stop: Optional[int], step: Optional[int] = ...) -> None: ... + def __init__(self, start: Any, stop: Any, step: Any = ...) -> None: ... def indices(self, len: int) -> Tuple[int, int, int]: ... class tuple(Sequence[_T_co], Generic[_T_co]): diff --git a/stdlib/2and3/builtins.pyi b/stdlib/2and3/builtins.pyi index 13a6ef968ecc..eb3001ca37ec 100644 --- a/stdlib/2and3/builtins.pyi +++ b/stdlib/2and3/builtins.pyi @@ -841,13 +841,13 @@ class bool(int): def __getnewargs__(self) -> Tuple[int]: ... class slice(object): - start: Optional[int] - step: Optional[int] - stop: Optional[int] + start: Any + step: Any + stop: Any @overload - def __init__(self, stop: Optional[int]) -> None: ... + def __init__(self, stop: Any) -> None: ... @overload - def __init__(self, start: Optional[int], stop: Optional[int], step: Optional[int] = ...) -> None: ... + def __init__(self, start: Any, stop: Any, step: Any = ...) -> None: ... def indices(self, len: int) -> Tuple[int, int, int]: ... class tuple(Sequence[_T_co], Generic[_T_co]):