(x: *mut PyObject)
| 87 | #[inline] |
| 88 | #[cfg(not(RustPython))] |
| 89 | pub unsafe fn PyExceptionClass_Check(x: *mut PyObject) -> c_int { |
| 90 | (PyType_Check(x) != 0 |
| 91 | && PyType_FastSubclass(x as *mut PyTypeObject, Py_TPFLAGS_BASE_EXC_SUBCLASS) != 0) |
| 92 | as c_int |
| 93 | } |
| 94 | |
| 95 | #[inline] |
| 96 | #[cfg(not(RustPython))] |
no test coverage detected