TypeError: unbound method add() must be called with BinaryTree instance as first argument (got nothing instead)

Peter Otten __peter__ at web.de
Sat May 18 15:46:38 EDT 2013


Dan Stromberg wrote:

> python 2.x, python 3.x and pypy all give this same error, though jython
> errors out at a different point in the same method.

By the way, 3.x doesn't have unbound methods, so that should work.




More information about the Python-list mailing list