Fix error when importing inherit_docstring_from