MCPcopy Create free account
hub / github.com/dgrunwald/rust-cpython / PySet_CheckExact

Function PySet_CheckExact

python3-sys/src/setobject.rs:37–39  ·  view source on GitHub ↗
(ob: *mut PyObject)

Source from the content-addressed store, hash-verified

35
36#[inline]
37pub unsafe fn PySet_CheckExact(ob: *mut PyObject) -> c_int {
38 (Py_TYPE(ob) == &mut PySet_Type) as c_int
39}
40
41#[inline]
42pub unsafe fn PySet_Check(ob: *mut PyObject) -> c_int {

Callers

nothing calls this directly

Calls 1

Py_TYPEFunction · 0.70

Tested by

no test coverage detected