mirror of
https://github.com/python/cpython.git
synced 2025-08-05 01:18:26 +00:00

Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com> Co-authored-by: Petr Viktorin <encukou@gmail.com>
5 lines
348 B
ReStructuredText
5 lines
348 B
ReStructuredText
Make :mod:`heapq` max-heap functions :func:`heapq.heapify_max`, :func:`heapq.heappush_max`,
|
|
:func:`heapq.heappop_max`, and :func:`heapq.heapreplace_max` public.
|
|
Previous underscored naming is kept for backwards compatibility.
|
|
Additionally, the missing function :func:`heapq.heappushpop_max` has been added
|
|
to both the C and Python implementations.
|