Skip to content

Commit

Permalink
fix #1008: fix autodoc documenter resolve ordering.
Browse files Browse the repository at this point in the history
note: MethodDocumenter and FunctionDocumenter is same priority then
Documenter.format_signature() choice documenter is not stable
(depend on memory condition?).
  • Loading branch information
shimizukawa committed Oct 31, 2012
1 parent d51b5d5 commit 88e1bbe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sphinx/ext/autodoc.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit 88e1bbe

Please sign in to comment.