heapq: re-export, add __about__ (#7308)

This commit is contained in:
Shantanu
2022-02-20 02:04:44 -08:00
committed by GitHub
parent 6b29dca128
commit 690864c86f
3 changed files with 10 additions and 9 deletions

View File

@@ -2,6 +2,8 @@ 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: ...