def setErrorHandler(self,f,arg):
        """Register an error handler that will be called back as
           f(arg,msg,severity,reserved).

           @reserved is currently always None."""
        libxml2mod.xmlParserCtxtSetErrorHandler(self._o,f,arg)
def setErrorHandler ( self , f , arg ) : libxml2mod . xmlParserCtxtSetErrorHandler ( self . _o , f , arg )
Register an error handler that will be called back as
           f(arg,msg,severity,reserved).

           @reserved is currently always None.