diff --git a/stdlib/2/__builtin__.pyi b/stdlib/2/__builtin__.pyi index 04570eef6..6e3086e4c 100644 --- a/stdlib/2/__builtin__.pyi +++ b/stdlib/2/__builtin__.pyi @@ -476,6 +476,7 @@ class slice(object): def __init__(self, stop: Optional[int]) -> None: ... @overload def __init__(self, start: Optional[int], stop: Optional[int], step: int = None) -> None: ... + def indices(self, len: int) -> Tuple[int, int, int]: ... class tuple(Sequence[_T_co], Generic[_T_co]): def __init__(self, iterable: Iterable[_T_co] = ...) -> None: ... diff --git a/stdlib/3/builtins.pyi b/stdlib/3/builtins.pyi index 178d6bfa6..835119a81 100644 --- a/stdlib/3/builtins.pyi +++ b/stdlib/3/builtins.pyi @@ -525,6 +525,7 @@ class slice: def __init__(self, stop: Optional[int]) -> None: ... @overload def __init__(self, start: Optional[int], stop: Optional[int], step: int = None) -> None: ... + def indices(self, len: int) -> Tuple[int, int, int]: ... class tuple(Sequence[_T_co], Generic[_T_co]): def __init__(self, iterable: Iterable[_T_co] = ...) -> None: ...