pylint/checkers/variables.py
def in_for_else_branch(parent, stmt):
    """Returns True if stmt in inside the else branch for a parent For stmt."""
    return isinstance(parent, astroid.For) and any(
        else_stmt.parent_of(stmt) or else_stmt == stmt for else_stmt in parent.orelse
    )
def in_for_else_branch(parent, stmt):
    return isinstance(parent, astroid.For) and any(
        else_stmt.parent_of(stmt) or else_stmt == stmt for else_stmt in parent.orelse
    )
def in_for_else_branch ( parent , stmt ) : return isinstance ( parent , astroid . For ) and any ( else_stmt . parent_of ( stmt ) or else_stmt == stmt for else_stmt in parent . orelse )
Returns True if stmt in inside the else branch for a parent For stmt.
Returns True if stmt in inside the else branch for a parent For stmt .