File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1412,7 +1412,7 @@ class reversed(Iterator[_T], Generic[_T]):
1412
1412
def __init__ (self , __sequence : Reversible [_T ]) -> None : ...
1413
1413
@overload
1414
1414
def __init__ (self , __sequence : SupportsLenAndGetItem [_T ]) -> None : ...
1415
- def __iter__ (self ) -> Iterator [ _T ] : ...
1415
+ def __iter__ (self : Self ) -> Self : ...
1416
1416
def __next__ (self ) -> _T : ...
1417
1417
1418
1418
def repr (__obj : object ) -> str : ...
@@ -1524,7 +1524,7 @@ class zip(Iterator[_T_co], Generic[_T_co]):
1524
1524
* iterables : Iterable [Any ],
1525
1525
) -> zip [tuple [Any , ...]]: ...
1526
1526
1527
- def __iter__ (self ) -> Iterator [ _T_co ] : ...
1527
+ def __iter__ (self : Self ) -> Self : ...
1528
1528
def __next__ (self ) -> _T_co : ...
1529
1529
1530
1530
# Signature of `builtins.__import__` should be kept identical to `importlib.__import__`
You can’t perform that action at this time.
0 commit comments