mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-07 20:54:28 +08:00
committed by
Sebastian Rittau
parent
9a1d205f34
commit
fa571fb224
@@ -1189,7 +1189,9 @@ else:
|
||||
@overload
|
||||
def iter(__iterable: Iterable[_T]) -> Iterator[_T]: ...
|
||||
@overload
|
||||
def iter(__function: Callable[[], _T], __sentinel: _T) -> Iterator[_T]: ...
|
||||
def iter(__function: Callable[[], Optional[_T]], __sentinel: None) -> Iterator[_T]: ...
|
||||
@overload
|
||||
def iter(__function: Callable[[], Any], __sentinel: Any) -> Iterator[Any]: ...
|
||||
def isinstance(__o: object, __t: Union[type, Tuple[Union[type, Tuple[Any, ...]], ...]]) -> bool: ...
|
||||
def issubclass(__cls: type, __classinfo: Union[type, Tuple[Union[type, Tuple[Any, ...]], ...]]) -> bool: ...
|
||||
def len(__o: Sized) -> int: ...
|
||||
|
||||
Reference in New Issue
Block a user