remove 'inherits' section from docstrings