Issue #1048 duplicate

Autodoc does not work well with inherited attributes.

Markus Unterwaditzer
created an issue

Maybe related, but not the original reason:

Example code:

class Parent(object):
    someattr = 'FOO'
    '''The documentation for someattr. Using #: instead doesn't affect the outcome.'''

class Child(object):
.. autoclass:: mymodule.Child
    .. autoattribute:: someattr

Just shows "someattr = 'FOO'" in the docs, but not the docstring.

Comments (3)

  1. Log in to comment