pyo3_ffi

Function PyCFunction_GET_CLASS

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