mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-08 13:04:46 +08:00
* run script and do some manual changes (Akuli) * do the whole thing manually (srittau) * merge changes (Akuli) Co-authored-by: Sebastian Rittau <srittau@rittau.biz>
10 lines
314 B
Python
10 lines
314 B
Python
from typing import Any, List, TypeVar
|
|
|
|
_T = TypeVar("_T")
|
|
|
|
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: ...
|