Skip to content

Option to exclude members inherited from stdlib when 'inherited-members' is enabled #467

@dkbarn

Description

@dkbarn

When the 'inherited-members' option is enabled, classes which inherit from a standard library class, such as Exception or TypedDict, will have all of the dunder methods on that class included in the documentation. For example, __str__(), __delattr__(), __dir__(), __eq__(), __format__(), etc etc

It would be helpful if there was a way to exclude members defined in the standard library when 'inherited-members' is enabled, since I can't think of many cases when this is useful to include.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions