code: def replace(self, child, *nodes):
          r
          self.expr.insert(
              self.expr.remove(child.expr),
              *nodes)
docs: r"""Replace provided node with node(s).
  
          :param TexNode child: Child node to replace
          :param TexNode nodes: List of nodes to subtitute in
  
          >>> from TexSoup import TexSoup
          >>> soup = TexSoup(r'''
          ... \begin{itemize}
          ...     \item Hello
          ...     \item Bye
          ... \end{itemize}''')
          >>> items = list(soup.find_all('item'))
          >>> bye = items[1]
          >>> soup.itemize.replace(soup.item, bye)
          >>> soup.itemize
          \begin{itemize}
              \item Bye
          \item Bye
          \end{itemize}