def METHOD_NAME(self, node):
    self.expr_parent = node
    self.result[node] = self.locals.copy()
    md.visit(self, node)
    self.visit(node.iter)
    self.locals.add(node.target.id)
    for stmt in node.body:
        self.visit(stmt)
    for stmt in node.orelse:
        self.visit(stmt)