Skip to content

Commit e623b8c

Browse files
authored
Remove annotations for helpers
1 parent c1db93b commit e623b8c

1 file changed

Lines changed: 1 addition & 6 deletions

File tree

stdlib/heapq.pyi

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,6 @@ if sys.version_info >= (3, 14):
1010
# Added to __all__ in 3.14.1
1111
__all__ += ["heapify_max", "heappop_max", "heappush_max", "heappushpop_max", "heapreplace_max"]
1212

13-
def _heappush_max(heap: list[_T], item: _T, /) -> None: ... # undocumented
14-
def _heappushpop_max(heap: list[_T], item: _T, /) -> _T: ... # undocumented
15-
1613
_S = TypeVar("_S")
1714

1815
__about__: Final[str]
@@ -29,6 +26,4 @@ def nlargest(n: int, iterable: Iterable[_T], key: None = None) -> list[_T]: ...
2926
def nsmallest(n: int, iterable: Iterable[_S], key: Callable[[_S], SupportsRichComparison]) -> list[_S]: ...
3027
@overload
3128
def nsmallest(n: int, iterable: Iterable[_T], key: None = None) -> list[_T]: ...
32-
def _heapify_max(heap: list[SupportsRichComparison]) -> None: ... # undocumented
33-
def _heappop_max(heap: list[_T], /) -> _T: ... # undocumented
34-
def _heapreplace_max(heap: list[_T], item: _T, /) -> _T: ... # undocumented
29+
def _heapify_max(heap: list[SupportsRichComparison], /) -> None: ... # undocumented

0 commit comments

Comments
 (0)