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

This commit is contained in:
rchen152
2017-09-05 16:21:14 -07:00
committed by Matthias Kramm
parent 28d71e6f6f
commit 8d5a233c6b

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]]: ...