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

Function PyFrozenSet_CheckExact

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

Source from the content-addressed store, hash-verified

12
13#[inline]
14pub unsafe fn PyFrozenSet_CheckExact(ob: *mut PyObject) -> c_int {
15 (Py_TYPE(ob) == &mut PyFrozenSet_Type) as c_int
16}
17
18#[inline]
19pub unsafe fn PyFrozenSet_Check(ob: *mut PyObject) -> c_int {

Callers

nothing calls this directly

Calls 1

Py_TYPEFunction · 0.70

Tested by

no test coverage detected