code: def visit_compare(self, node, parent):
          
          newnode = nodes.Compare(node.lineno, node.col_offset, parent)
          newnode.postinit(
              self.visit(node.left, newnode),
              [
                  (self._cmp_op_classes[op.__class__], self.visit(expr, newnode))
                  for (op, expr) in zip(node.ops, node.comparators)
              ],
          )
          return newnode
docs: visit a Compare node by returning a fresh instance of it