MCPcopy Create free account
hub / github.com/PyO3/pyo3 / PyCode_Check

Function PyCode_Check

pyo3-ffi/src/cpython/code.rs:74–76  ·  view source on GitHub ↗
(op: *mut PyObject)

Source from the content-addressed store, hash-verified

72#[inline]
73#[cfg(not(PyPy))]
74pub unsafe fn PyCode_Check(op: *mut PyObject) -> c_int {
75 Py_IS_TYPE(op, &raw mut PyCode_Type)
76}
77
78extern_libpython! {
79 #[cfg(PyPy)]

Callers

nothing calls this directly

Calls 1

Py_IS_TYPEFunction · 0.85

Tested by

no test coverage detected