(x: *mut PyObject)
| 31 | |
| 32 | #[inline] |
| 33 | pub unsafe fn PyExceptionClass_Check(x: *mut PyObject) -> c_int { |
| 34 | (PyClass_Check(x) != 0 |
| 35 | || (PyType_Check(x) != 0 |
| 36 | && PyType_FastSubclass(x as *mut PyTypeObject, Py_TPFLAGS_BASE_EXC_SUBCLASS) != 0)) |
| 37 | as c_int |
| 38 | } |
| 39 | |
| 40 | #[inline] |
| 41 | pub unsafe fn PyExceptionInstance_Check(x: *mut PyObject) -> c_int { |
nothing calls this directly
no test coverage detected