pub type Func = unsafe fn(Python<'_>, *mut PyObject, *mut Py_buffer) -> PyResult<()>;
Py_LIMITED_API
Py_3_11