The Node class defines both __nonzero__() and __len__(), but returns
true from __nonzero__() even when __len__() returns 0. There should
be a comment explaining why; this is very confusing.
-Fred
--
Fred L. Drake, Jr. <fdrake at acm.org>
PythonLabs at Zope Corporation
|