def baredoc(obj):
doc = getdoc(obj)<EOL>if not doc:<EOL><INDENT>return '<STR_LIT>'<EOL><DEDENT>doc = doc.splitlines()[<NUM_LIT:0>]<EOL>return doc.rstrip('<STR_LIT>').lstrip()<EOL>
Return the first line of the docstring of an object.

    Trailing periods and spaces as well as leading spaces are removed from the
    output.

    Args:
        obj: any Python object.
    Returns:
        str: the first line of the docstring of obj.