March 2003
Intermediate to advanced
656 pages
39h 30m
English
PyErr_ExceptionMatches
int PyErr_ExceptionMatches(PyObject* type)
Call only when an error is pending, or the
whole program might crash. Returns a value not equal to
0 when the pending exception is an instance of the
given type or any subclass of
type, or 0 when the
pending exception is not such an instance.