[Python-Dev] Priority queue (binary heap) python code

Skip Montanaro skip@pobox.com
Wed, 26 Jun 2002 00:23:13 -0500


    aahz> Fair enough -- but I didn't really know about bisect myself.
    aahz> Looking at the docs for bisect, it says that the code might be
    aahz> best used as a source code example.  

I always forget about it as well.  I just added /F's four-line PriorityQueue
class as an example in the bisect docs and a "seealso" pointing at the
bisect doc to the Queue module doc.

Skip