Andrew Dalke wrote: > Summary: heapq is a concrete interface, not an abstract one. It doesn't > try to encompass the different ways to do heaps. It's like bisect in that > it works on an existing data type. more importantly, it works on *any* existing data type, as long as the type behaves like a mutable sequence. </F>