mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-01-24 03:51:52 +08:00
stdlib: Add defaults for positional-only parameters (#9655)
This commit is contained in:
@@ -111,7 +111,7 @@ class takewhile(Iterator[_T], Generic[_T]):
|
||||
def __iter__(self: Self) -> Self: ...
|
||||
def __next__(self) -> _T: ...
|
||||
|
||||
def tee(__iterable: Iterable[_T], __n: int = ...) -> tuple[Iterator[_T], ...]: ...
|
||||
def tee(__iterable: Iterable[_T], __n: int = 2) -> tuple[Iterator[_T], ...]: ...
|
||||
|
||||
class zip_longest(Iterator[_T_co], Generic[_T_co]):
|
||||
# one iterable (fillvalue doesn't matter)
|
||||
|
||||
Reference in New Issue
Block a user