(x: *mut PyObject)
| 39 | |
| 40 | #[inline] |
| 41 | pub unsafe fn PyExceptionInstance_Check(x: *mut PyObject) -> c_int { |
| 42 | (PyInstance_Check(x) != 0 |
| 43 | || PyType_FastSubclass((*x).ob_type, Py_TPFLAGS_BASE_EXC_SUBCLASS) != 0) as c_int |
| 44 | } |
| 45 | |
| 46 | #[inline] |
| 47 | pub unsafe fn PyExceptionClass_Name(x: *mut PyObject) -> *const c_char { |
nothing calls this directly
no test coverage detected