summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorshimizukawa <shimizukawa@gmail.com>2012-10-31 09:20:36 +0900
committershimizukawa <shimizukawa@gmail.com>2012-10-31 09:20:36 +0900
commit33c163a7ca63990a741b257358642dca5fd78bad (patch)
tree553e614a823e5f86db5d3c06ef8ac4525c167329
parente05c30f81cd56c53403c3eaa3e229b9476483fa7 (diff)
downloadsphinx-33c163a7ca63990a741b257358642dca5fd78bad.tar.gz
fix #1008: fix autodoc documenter resolve ordering.
note: MethodDocumenter and FunctionDocumenter is same priority then Documenter.format_signature() choice documenter is not stable (depend on memory condition?).
-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 b0657dc9..6985e04d 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
@classmethod
def can_document_member(cls, member, membername, isattr, parent):