New submission from John Millikin <[EMAIL PROTECTED]>:

Using the following class layout:

class A (object):
        def a (self):
                "A.a"
                pass
class B (A):
        def b (self):
                "B.b"
                pass

If sphinx.ext.autodoc is used to extract documentation, the entry for
class B will have subentries for both the a() and b() methods. This is
unnecessary clutter. It would be nice if the inherited method was
skipped when documenting B, or even better if it was inserted as a
"stub" linking to the documentation for A.a().

----------
assignee: georg.brandl
components: Documentation tools (Sphinx)
messages: 65624
nosy: georg.brandl, jmillikin
severity: normal
status: open
title: Autodoc should skip inherited methods
type: behavior
versions: Python 2.6

__________________________________
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue2656>
__________________________________
_______________________________________________
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to