PyDocs

Nav

Data Types

heappushpop_max

heapq

function · Added in 3.14
  • heappushpop_max(heap, item)
Maxheap variant of heappushpop.

The combined action runs more efficiently than heappush_max()
followed by a separate call to heappop_max().
0 Examples
No examples for heapq/heappushpop_max.
See Also
No see-alsos for heapq/heappushpop_max
0 Notes
No notes for heappushpop_max