code: def copy_node_info(src, dest):
      
      for attr in ['lineno', 'fromlineno', 'tolineno',
                   'col_offset', 'parent']:
          if hasattr(src, attr):
              setattr(dest, attr, getattr(src, attr))
docs: Copy information from src to dest
  
      Every node in the AST has to have line number information.  Get
      the information from the old stmt.