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

Function PyCode_Check

python3-sys/src/code.rs:229–231  ·  view source on GitHub ↗
(op: *mut PyObject)

Source from the content-addressed store, hash-verified

227
228#[inline]
229pub unsafe fn PyCode_Check(op: *mut PyObject) -> c_int {
230 (Py_TYPE(op) == &mut PyCode_Type) as c_int
231}
232
233#[inline]
234#[cfg(Py_3_11)]

Callers

nothing calls this directly

Calls 1

Py_TYPEFunction · 0.70

Tested by

no test coverage detected