pub unsafe fn PyFloat_AS_DOUBLE(op: *mut PyObject) -> f64
This is supported on non-Py_LIMITED_API only.