(line)
return len(expline) - len(expline.lstrip())
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 = line.expandtabs()
    return len(expline) - len(expline.lstrip())
def indentsize ( line ) : expline = line . expandtabs ( ) return len ( expline ) - len ( expline . lstrip ( ) )