pyo3::ffi

Function PyFunction_Check

Source
pub unsafe fn PyFunction_Check(op: *mut PyObject) -> i32
Available on not (PyPy and non-Py_3_8).
⚠️ Internal Docs ⚠️ Not Public API 👉 Official Docs Here