Searched refs:exc_class (Results 1 – 3 of 3) sorted by relevance
368 extern void _ctypes_extend_error(PyObject *exc_class, char *fmt, ...);
961 void _ctypes_extend_error(PyObject *exc_class, char *fmt, ...) in _ctypes_extend_error() argument991 PyErr_SetObject(exc_class, s); in _ctypes_extend_error()
2520 def _CheckRaises(self, exc_class, callable_obj, exception): argument2524 except exc_class as ex:2529 raise self.failureException('%s not raised' % str(exc_class))