mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-10 05:51:52 +08:00
itertools.pyi: Allow omitting repeat argument in Python 3 (#2659)
Fixes #2561
This commit is contained in:
committed by
Jelle Zijlstra
parent
de50614957
commit
9f9d15e311
@@ -96,7 +96,7 @@ def product(iter1: Iterable[Any],
|
||||
iter7: Iterable[Any],
|
||||
*iterables: Iterable[Any]) -> Iterator[Tuple[Any, ...]]: ...
|
||||
@overload
|
||||
def product(*iterables: Iterable[Any], repeat: int) -> Iterator[Tuple[Any, ...]]: ...
|
||||
def product(*iterables: Iterable[Any], repeat: int = ...) -> Iterator[Tuple[Any, ...]]: ...
|
||||
|
||||
def permutations(iterable: Iterable[_T],
|
||||
r: Optional[int] = ...) -> Iterator[Tuple[_T, ...]]: ...
|
||||
|
||||
Reference in New Issue
Block a user