docstring-inheritance icon indicating copy to clipboard operation
docstring-inheritance copied to clipboard

A python package to avoid writing and maintaining duplicated python docstrings.

Results 4 docstring-inheritance issues
Sort by recently updated
recently updated
newest added

Using a decorator to inherit the docstring would be very useful. For example, the decorator's definition would be like this: ```python from typing import Callable, Literal def inherit_docstring(func: Callable =...

Such that an inheritor can work with either the google or the numpy formats, and such that a class with a format could inherit from a class with another format.