mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-07 20:54:28 +08:00
Add range attributes (#1561)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user