Add range attributes (#1561)

This commit is contained in:
Garrett
2017-08-22 06:11:55 -07:00
committed by Jelle Zijlstra
parent e8ece8ccce
commit 975c9a09ef

View File

@@ -726,6 +726,9 @@ class enumerate(Iterator[Tuple[int, _T]], Generic[_T]):
def __next__(self) -> Tuple[int, _T]: ...
class range(Sequence[int]):
start = ... # type: int
stop = ... # type: int
step = ... # type: int
@overload
def __init__(self, stop: int) -> None: ...
@overload