pytools.api.appenddoc#
- pytools.api.appenddoc(*, to, prepend=False)[source]#
A decorator that appends the docstring of the decorated method to the docstring of another method.
Useful especially if an
__init__
method is defined in a base class, and the docstring of the derived class’s__init__
method defines additional parameters.