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

This commit is contained in:
Shantanu authored and GitHub committed 2022-02-20 12:04:44 +02:00
1 parent 6b29dca128
commit 690864c86f
3 files changed
+10 -9

No files matched your search

+2
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: ...