[New-bugs-announce] [issue2656] Autodoc should skip inherited methods

John Millikin report at bugs.python.org
Fri Apr 18 23:02:44 CEST 2008

New submission from John Millikin <jmillikin at gmail.com>:

Using the following class layout:

class A (object):
	def a (self):
class B (A):
	def b (self):

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 <report at bugs.python.org>

More information about the New-bugs-announce mailing list