import inspect


def get_docstring(module):
    """get docstring from module

    Args:
        module (obj): module had docstring or not

    Returns:
        str: return docstring or ""
    """
    docstring = inspect.getdoc(module)
    if docstring is None:
        return ""
    else:
        return docstring