mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-07 20:54:28 +08:00
12 lines
337 B
Python
12 lines
337 B
Python
from typing import Any, Final, TypeVar
|
|
|
|
_T = TypeVar("_T")
|
|
|
|
__about__: Final[str]
|
|
|
|
def heapify(heap: list[Any], /) -> None: ...
|
|
def heappop(heap: list[_T], /) -> _T: ...
|
|
def heappush(heap: list[_T], item: _T, /) -> None: ...
|
|
def heappushpop(heap: list[_T], item: _T, /) -> _T: ...
|
|
def heapreplace(heap: list[_T], item: _T, /) -> _T: ...
|