parameters: (self, to)
return_statement: return ret
docstring: Save the original error to the new place.
docstring_summary: Save the original error to the new place.
docstring_tokens: Save the original error to the new place .
function: def copyError(self, to):
          """Save the original error to the new place. """
          if to is None: to__o = None
          else: to__o = to._o
          ret = libxml2mod.xmlCopyError(self._o, to__o)
          return ret
function_tokens: def copyError ( self , to ) : if to is None : to__o = None else : to__o = to . _o ret = libxml2mod . xmlCopyError ( self . _o , to__o ) return ret