(line)
return len(expline) - len(string.lstrip(expline))
Return the indent size, in spaces, at the start of a line of text.
Return the indent size, in spaces, at the start of a line of text.
Return the indent size in spaces at the start of a line of text .
def indentsize(line):
    """Return the indent size, in spaces, at the start of a line of text."""
    expline = string.expandtabs(line)
    return len(expline) - len(string.lstrip(expline))
def indentsize ( line ) : expline = string . expandtabs ( line ) return len ( expline ) - len ( string . lstrip ( expline ) )