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

Function PyDict_CheckExact

python3-sys/src/dictobject.rs:29–31  ·  view source on GitHub ↗
(op: *mut PyObject)

Source from the content-addressed store, hash-verified

27
28#[inline(always)]
29pub unsafe fn PyDict_CheckExact(op: *mut PyObject) -> c_int {
30 (Py_TYPE(op) == &mut PyDict_Type) as c_int
31}
32
33#[inline(always)]
34pub unsafe fn PyDictKeys_Check(op: *mut PyObject) -> c_int {

Callers

nothing calls this directly

Calls 1

Py_TYPEFunction · 0.70

Tested by

no test coverage detected