mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-02-09 03:01:25 +08:00
stdlib: audit more callback annotations (#8209)
This commit is contained in:
@@ -9,7 +9,9 @@ _S = TypeVar("_S")
|
||||
|
||||
__about__: str
|
||||
|
||||
def merge(*iterables: Iterable[_S], key: Callable[[_S], Any] | None = ..., reverse: bool = ...) -> Iterable[_S]: ...
|
||||
def merge(
|
||||
*iterables: Iterable[_S], key: Callable[[_S], SupportsRichComparison] | None = ..., reverse: bool = ...
|
||||
) -> Iterable[_S]: ...
|
||||
def nlargest(n: int, iterable: Iterable[_S], key: Callable[[_S], SupportsRichComparison] | None = ...) -> list[_S]: ...
|
||||
def nsmallest(n: int, iterable: Iterable[_S], key: Callable[[_S], SupportsRichComparison] | None = ...) -> list[_S]: ...
|
||||
def _heapify_max(__x: list[Any]) -> None: ... # undocumented
|
||||
|
||||
Reference in New Issue
Block a user