summaryrefslogtreecommitdiff
path: root/sphinx/ext/autodoc.py
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2012-11-01 17:52:41 +0100
committerGeorg Brandl <georg@python.org>2012-11-01 17:52:41 +0100
commit72962c99b716268a3f08d773f559891fde72227b (patch)
tree5a3c545b1a58f02a3d866a730c1fadc12e7b07a5 /sphinx/ext/autodoc.py
parent21d57d3125feb59a38432b08bb9ffea9d0b1855c (diff)
downloadsphinx-git-72962c99b716268a3f08d773f559891fde72227b.tar.gz
Fix test_autodoc with Python 3.3, patches by Jon and Takayuki.
Diffstat (limited to 'sphinx/ext/autodoc.py')
-rw-r--r--sphinx/ext/autodoc.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sphinx/ext/autodoc.py b/sphinx/ext/autodoc.py
index b0657dc9e..44c7ad8bb 100644
--- a/sphinx/ext/autodoc.py
+++ b/sphinx/ext/autodoc.py
@@ -1105,7 +1105,7 @@ class MethodDocumenter(DocstringSignatureMixin, ClassLevelDocumenter):
"""
objtype = 'method'
member_order = 50
- priority = 0
+ priority = 1 # must be more than FunctionDocumenter
@classmethod
def can_document_member(cls, member, membername, isattr, parent):