Lines Matching defs:handler
2711 "register_error($module, errors, handler, /)\n"
2714 "Register the specified error handler under the name errors.\n"
2716 "handler must be a callable object, that will be called with an exception\n"
2725 PyObject *handler);
2732 PyObject *handler;
2750 handler = args[1];
2751 return_value = _codecs_register_error_impl(module, errors, handler);
2761 "lookup_error(errors) -> handler\n"
2763 "Return the error handler for the specified error handling name or raise a\n"
2764 "LookupError, if no handler exists under this name.");