summaryrefslogtreecommitdiff
path: root/sphinx/domains
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2011-09-22 10:23:54 +0200
committerGeorg Brandl <georg@python.org>2011-09-22 10:23:54 +0200
commitccef6db7cb04db18258c41a4fd5af6384525737a (patch)
treea13ac09da8f424b886574598f71b2db8b45ebde5 /sphinx/domains
parent94192b1edf7b2e0306d8e5905d5e980a7c062153 (diff)
downloadsphinx-ccef6db7cb04db18258c41a4fd5af6384525737a.tar.gz
Fix #677: allow multiple signatures in C++ domain directives.
Diffstat (limited to 'sphinx/domains')
-rw-r--r--sphinx/domains/cpp.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sphinx/domains/cpp.py b/sphinx/domains/cpp.py
index f07037e4..dac0106b 100644
--- a/sphinx/domains/cpp.py
+++ b/sphinx/domains/cpp.py
@@ -122,7 +122,7 @@ class DefExpr(object):
return False
try:
for key, value in self.__dict__.iteritems():
- if value != getattr(other, value):
+ if value != getattr(other, key):
return False
except AttributeError:
return False