From 975c9a09efbc447d4af24f72bfbf12ef642da8b4 Mon Sep 17 00:00:00 2001 From: Garrett Date: Tue, 22 Aug 2017 06:11:55 -0700 Subject: [PATCH] Add range attributes (#1561) --- stdlib/3/builtins.pyi | 3 +++ 1 file changed, 3 insertions(+) diff --git a/stdlib/3/builtins.pyi b/stdlib/3/builtins.pyi index 495217d68..c3cda6d87 100644 --- a/stdlib/3/builtins.pyi +++ b/stdlib/3/builtins.pyi @@ -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