itertools.pyi: Replace Iterable with Iterator. (#2943)

Fixes #2931
This commit is contained in:
Utkarsh Gupta
2019-04-30 21:53:59 +00:00
committed by Jelle Zijlstra
parent 1fddec3f90
commit 6d8e610d75

View File

@@ -101,6 +101,6 @@ def product(*iterables: Iterable[Any], repeat: int = ...) -> Iterator[Tuple[Any,
def permutations(iterable: Iterable[_T],
r: Optional[int] = ...) -> Iterator[Tuple[_T, ...]]: ...
def combinations(iterable: Iterable[_T],
r: int) -> Iterable[Tuple[_T, ...]]: ...
r: int) -> Iterator[Tuple[_T, ...]]: ...
def combinations_with_replacement(iterable: Iterable[_T],
r: int) -> Iterable[Tuple[_T, ...]]: ...
r: int) -> Iterator[Tuple[_T, ...]]: ...