m3sh.heap.Heap.

pop#

Heap.pop()#

Remove top item.

Remove top item and maintain the heap property.

Returns:
itemtuple

An (obj, key) tuple.

Raises:
IndexError

When trying to remove items from an empty heap.

See also

top