Make sphinx.pycode.nodes.BaseNode unhashable

This commit is contained in:
Daniel Neuhäuser 2010-05-01 19:18:31 +02:00
parent f6bf9b13ff
commit eef0b0821d

View File

@ -29,6 +29,8 @@ class BaseNode(object):
return NotImplemented
return not self._eq(other)
__hash__ = None
def get_prev_sibling(self):
"""Return previous child in parent's children, or None."""
if self.parent is None: