Fix #677: allow multiple signatures in C++ domain directives.

This commit is contained in:
Georg Brandl 2011-09-22 10:23:54 +02:00
parent a843bf403b
commit b3108306cd
3 changed files with 4 additions and 4 deletions

View File

@ -1,6 +1,8 @@
Release 1.0.8 (in development)
==============================
* #677: Fix parsing of multiple signatures in C++ domain.
* #637: Ignore Emacs lock files when looking for source files.
* #544: Allow .pyw extension for importable modules in autodoc.

View File

@ -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

View File

@ -169,6 +169,4 @@ CPP domain
.. cpp:class:: n::Array<T,d>
.. cpp:function:: T& operator[]( unsigned j )
.. cpp:function:: const T& operator[]( unsigned j ) const
const T& operator[]( unsigned j ) const