pub unsafe fn unaryfunc( slf: *mut PyObject, f: for<'py> unsafe fn(_: Python<'py>, _: *mut PyObject) -> PyResult<*mut PyObject>, ) -> *mut PyObject