pyo3_ffi

Function PyCFunction_GET_FUNCTION

Source
pub unsafe fn PyCFunction_GET_FUNCTION(
    func: *mut PyObject,
) -> PyMethodDefPointer
Available on Py_3_9 and non-PyPy and non-Py_LIMITED_API and non-GraalPy only.