Fix the definition of itertools.tee() (#1584)

This commit is contained in:
rchen152 authored and Matthias Kramm committed 2017-09-05 16:21:14 -07:00
1 parent 28d71e6f6f
commit 8d5a233c6b
1 file changed
+1 -1
+1 -1
View File
@@ -60,7 +60,7 @@ def imap(func: Callable[[_T1, _T2], _S],
def starmap(func: Any, iterable: Iterable[Any]) -> Iterator[Any]: ...
def takewhile(predicate: Callable[[_T], Any],
iterable: Iterable[_T]) -> Iterator[_T]: ...
def tee(iterable: Iterable[Any], n: int = ...) -> Iterator[Any]: ...
def tee(iterable: Iterable[_T], n: int = ...) -> Tuple[Iterator[_T], ...]: ...
@overload
def izip(iter1: Iterable[_T1]) -> Iterator[Tuple[_T1]]: ...