

def unindent_string(docstring):
    " Set docstring to minimum indent for all lines, including first\n\n    >>> unindent_string(' two')\n    'two'\n    >>> unindent_string('  two\\n   three')\n    'two\\n three'\n    "
    lines = docstring.expandtabs().splitlines()
    icount = indentcount_lines(lines)
    if (icount == 0):
        return docstring
    return '\n'.join([line[icount:] for line in docstring])

dataset/ETHPy150Open scipy/scipy/scipy/misc/doccer.py unindent_string/VarMisuse@58/142 `lines`->`docstring`