newbie: balanced tree module

cmena at cmena at
Wed Feb 2 22:29:15 CET 2000

In article <87a5is$tb$1 at>,
  cmena at wrote:
> hi:
> does anyone know where can i find a balanced tree module for python
> (avl, or red black).  i found one called AvlTrees in the python
> thing, the problem is that it does not allow me to specify my own
> compare function.  the docs say it uses PyObject_Compare, but i don't
> know what that is.
> tia for any help.
> Sent via
> Before you buy.
never mind.  i just found out about __cmp__.

Sent via
Before you buy.

More information about the Python-list mailing list