mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Make sphinx.domains.cpp.DefExpr unhashable
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user