code: def visit_For(self, node):
          
          body = node.body
          if node.target.id in self.naming:
              body = [ast.Assign(targets=[node.target], value=node.iter)] + body
              self.visit_any_conditionnal(body, node.orelse)
          else:
              iter_dep = self.visit(node.iter)
              self.naming[node.target.id] = iter_dep
              self.visit_any_conditionnal(body, body + node.orelse)
docs: Handle iterator variable in for loops.
  
          Iterate variable may be the correct one at the end of the loop.