Files
typeshed/stdlib/_heapq.pyi
2022-02-20 12:04:44 +02:00

12 lines
324 B
Python

from typing import Any, TypeVar
_T = TypeVar("_T")
__about__: 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: ...