autoflake.py
def multiline_statement(line, previous_line=''):
    """Return True if this is part of a multiline statement."""
    for symbol in '\\:;':
        if symbol in line:
            return True

    sio = io.StringIO(line)
    try:
        list(tokenize.generate_tokens(sio.readline))
        return previous_line.rstrip().endswith('\\')
    except (SyntaxError, tokenize.TokenError):
        return True
def multiline_statement(line, previous_line=''):
    """Return True if this is part of a multiline statement."""
    for symbol in '\\:;':
        if symbol in line:
            return True

    sio = io.StringIO(line)
    try:
        list(tokenize.generate_tokens(sio.readline))
        return previous_line.rstrip().endswith('\\')
    except (SyntaxError, tokenize.TokenError):
        return True
def multiline_statement ( line , previous_line = '' ) : for symbol in '\\:;' : if symbol in line : return True sio = io . StringIO ( line ) try : list ( tokenize . generate_tokens ( sio . readline ) ) return previous_line . rstrip ( ) . endswith ( '\\' ) except ( SyntaxError , tokenize . TokenError ) : return True
Return True if this is part of a multiline statement.
Return True if this is part of a multiline statement .