Files
typeshed/stdlib/_heapq.pyi
2024-01-05 08:15:19 -08:00

12 lines
338 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: ...