def extract(self):
        if not self: return None, self._make_heap()
        return self.root, self.left.union(self.right) if self.left else self._make_heap()
Returns pair of values:
dataset/ETHPy150Open kachayev/fn.py/fn/immutable/heap.py/SkewHeap.extract