(ob: *mut PyObject)
| 28 | |
| 29 | #[inline] |
| 30 | pub unsafe fn PyAnySet_Check(ob: *mut PyObject) -> c_int { |
| 31 | (PyAnySet_CheckExact(ob) != 0 |
| 32 | || PyType_IsSubtype(Py_TYPE(ob), &mut PySet_Type) != 0 |
| 33 | || PyType_IsSubtype(Py_TYPE(ob), &mut PyFrozenSet_Type) != 0) as c_int |
| 34 | } |
| 35 | |
| 36 | #[inline] |
| 37 | pub unsafe fn PySet_Check(ob: *mut PyObject) -> c_int { |
nothing calls this directly
no test coverage detected