diff options
| author | DasIch <dasdasich@googlemail.com> | 2010-04-30 12:32:42 +0200 |
|---|---|---|
| committer | DasIch <dasdasich@googlemail.com> | 2010-04-30 12:32:42 +0200 |
| commit | 455ebde09dc55d91088d15a89fab0f2dfd1d3b51 (patch) | |
| tree | 29acd635787dbc465389d4e364850eeeb605ffed /sphinx/domains/cpp.py | |
| parent | c1249b9d9f69ff900882b3573699491bc98ebe5a (diff) | |
| download | sphinx-455ebde09dc55d91088d15a89fab0f2dfd1d3b51.tar.gz | |
Make sphinx.domains.cpp.DefExpr unhashable
Diffstat (limited to 'sphinx/domains/cpp.py')
| -rw-r--r-- | sphinx/domains/cpp.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sphinx/domains/cpp.py b/sphinx/domains/cpp.py index 4dac8925..90c3533e 100644 --- a/sphinx/domains/cpp.py +++ b/sphinx/domains/cpp.py @@ -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) |
