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

Function PyCMethod_Check

pyo3-ffi/src/cpython/methodobject.rs:22–24  ·  view source on GitHub ↗
(op: *mut PyObject)

Source from the content-addressed store, hash-verified

20
21#[inline]
22pub unsafe fn PyCMethod_Check(op: *mut PyObject) -> c_int {
23 PyObject_TypeCheck(op, &raw mut PyCMethod_Type)
24}
25
26#[cfg(not(GraalPy))]
27#[inline]

Callers

nothing calls this directly

Calls 1

PyObject_TypeCheckFunction · 0.85

Tested by

no test coverage detected