parameters: (self, newParent)
docstring: Move all the children of the current node to newParent.
          This is needed so that trees that don't store text as nodes move the
          text in the correct way
  
          :arg newParent: the node to move all this node's children to
docstring_summary: Move all the children of the current node to newParent.
          This is needed so that trees that don't store text as nodes move the
          text in the correct way
docstring_tokens: Move all the children of the current node to newParent . This is needed so that trees that don t store text as nodes move the text in the correct way
function: def reparentChildren(self, newParent):
          """Move all the children of the current node to newParent.
          This is needed so that trees that don't store text as nodes move the
          text in the correct way
  
          :arg newParent: the node to move all this node's children to
  
          """
          # XXX - should this method be made more general?
          for child in self.childNodes:
              newParent.appendChild(child)
          self.childNodes = []
function_tokens: def reparentChildren ( self , newParent ) : # XXX - should this method be made more general? for child in self . childNodes : newParent . appendChild ( child ) self . childNodes = [ ]