When declaring a class that inherits from a particular class:
class C(dict):
added_attribute = 0
the documentation for the class Clists all methods dict(either through help(C)or pydoc).
Is there a way to hide inherited methods from automatically generated documentation (the documentation line may refer to the base class for unwritten methods)? or is it impossible?
This would be useful: pydoclists the functions defined in the module after its classes. Thus, when classes have very long documentation, before publishing the new functions provided by the module, much less useful information is printed, which complicates the work of the documentation (you need to skip all the documentation for the inherited methods until you reach something specific for the documented module).
source
share