Summer reading list

Fredrik Lundh fredrik at pythonware.com
Wed Aug 13 04:03:30 EDT 2003


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>








More information about the Python-list mailing list