def indentsize(line):
    expline = string.expandtabs(line)
    return len(expline) - len(string.lstrip(expline))
Return the indent size, in spaces, at the start of a line of text.
dataset/ETHPy150Open cournape/Bento/bento/compat/inspect.py/indentsize