(self, older, newer)
Replaces a child of the node

      :param older: the child to be replaces
      :param newer: the new child which replaces the older
Replaces a child of the node
Replaces a child of the node
def replaceChild(self, older, newer):
      """ Replaces a child of the node

      :param older: the child to be replaces
      :param newer: the new child which replaces the older
      """
      index = self.childs.index(older)
      self.childs[index] = newer
def replaceChild ( self , older , newer ) : index = self . childs . index ( older ) self . childs [ index ] = newer