

def indentcount_lines(lines):
    " Minimum indent for all lines in line list\n\n    >>> lines = [' one', '  two', '   three']\n    >>> indentcount_lines(lines)\n    1\n    >>> lines = []\n    >>> indentcount_lines(lines)\n    0\n    >>> lines = [' one']\n    >>> indentcount_lines(lines)\n    1\n    >>> indentcount_lines(['    '])\n    0\n    "
    indentno = sys.maxsize
    for line in lines:
        stripped = line.lstrip()
        if stripped:
            indentno = min(indentno, (len(lines) - len(stripped)))
    if (indentno == sys.maxsize):
        return 0
    return indentno

dataset/ETHPy150Open scipy/scipy/scipy/misc/doccer.py indentcount_lines/VarMisuse@47/195 `line`->`lines`