mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-07 20:54:28 +08:00
13 lines
367 B
Python
13 lines
367 B
Python
from typing import Any, TypeVar
|
|
from typing_extensions import Final
|
|
|
|
_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: ...
|