summaryrefslogtreecommitdiff
path: root/sphinx/pycode/nodes.py
diff options
context:
space:
mode:
Diffstat (limited to 'sphinx/pycode/nodes.py')
-rw-r--r--sphinx/pycode/nodes.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/sphinx/pycode/nodes.py b/sphinx/pycode/nodes.py
index 14388f374..7adacc1d0 100644
--- a/sphinx/pycode/nodes.py
+++ b/sphinx/pycode/nodes.py
@@ -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: