(line, tabwidth)
return m.end(), len(m.group().expandtabs(tabwidth))
Return a line's indentation as (# chars, effective # of spaces).

    The effective # of spaces is the length after properly "expanding"
    the tabs into spaces, as done by str.expandtabs(tabwidth).
Return a line's indentation as (# chars, effective # of spaces).
Return a line s indentation as ( # chars effective # of spaces ) .
def get_line_indent(line, tabwidth):
    """Return a line's indentation as (# chars, effective # of spaces).

    The effective # of spaces is the length after properly "expanding"
    the tabs into spaces, as done by str.expandtabs(tabwidth).
    """
    m = _line_indent_re.match(line)
    return m.end(), len(m.group().expandtabs(tabwidth))
def get_line_indent ( line , tabwidth ) : m = _line_indent_re . match ( line ) return m . end ( ) , len ( m . group ( ) . expandtabs ( tabwidth ) )