docs: def replaceWith(self, *nodes: Union[AbstractNode, str]) -> None:
          """Replace this node with nodes.
  
          If nodes contains ``str``, it will be converted to Text node.
          """
          if self.parentNode:
              node = _to_node_list(nodes)
              self.parentNode.replaceChild(node, self)