From 9f9d15e3112cf2d11b24354bc2efd32b589ae696 Mon Sep 17 00:00:00 2001 From: Utkarsh Gupta Date: Sat, 1 Dec 2018 05:28:21 +0530 Subject: [PATCH] itertools.pyi: Allow omitting repeat argument in Python 3 (#2659) Fixes #2561 --- stdlib/3/itertools.pyi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stdlib/3/itertools.pyi b/stdlib/3/itertools.pyi index 8ca88cf92..443244a56 100644 --- a/stdlib/3/itertools.pyi +++ b/stdlib/3/itertools.pyi @@ -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, ...]]: ...