I think the sort has to be simplified, otherwise it can't keep the heap
invariant...

def sort(self):
    self.h.sort()

Bye,
bearophile

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to