Antoon Pardon wrote:
> For me, your class has the same drawback as the heappush, heappop
> procedurers: no way to specify a comparision function.

Agreed.  I'd love to see something like ``Heap(key=my_key_func)``.

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

Reply via email to