Add missing method 'indices' in 'slice' builtin (#1007)

This commit is contained in:
Tadeu Manoel
2017-03-16 10:14:34 -03:00
committed by Łukasz Langa
parent 349ff59f33
commit da6d4314d3
2 changed files with 2 additions and 0 deletions

View File

@@ -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: ...