Make sphinx.domains.cpp.DefExpr unhashable

This commit is contained in:
Daniel Neuhäuser
2010-04-30 12:32:42 +02:00
parent 21376f21e7
commit 47557af776

View File

@@ -132,6 +132,8 @@ class DefExpr(object):
def __ne__(self, other):
return not self.__eq__(other)
__hash__ = None
def clone(self):
"""Close a definition expression node"""
return deepcopy(self)