mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Fix #677: allow multiple signatures in C++ domain directives.
This commit is contained in:
parent
a843bf403b
commit
b3108306cd
2
CHANGES
2
CHANGES
@ -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.
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user