newbie: balanced tree module
cmena at my-deja.com
cmena at my-deja.com
Wed Feb 2 16:29:15 EST 2000
In article <87a5is$tb$1 at nnrp1.deja.com>,
cmena at my-deja.com 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
website
> 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 Deja.com http://www.deja.com/
> Before you buy.
>
never mind. i just found out about __cmp__.
Sent via Deja.com http://www.deja.com/
Before you buy.
More information about the Python-list
mailing list