Added docstring to _get_docstring