diff --git a/pythoncapi_compat.h b/pythoncapi_compat.h index 7dd3ca2..16935df 100644 --- a/pythoncapi_compat.h +++ b/pythoncapi_compat.h @@ -1300,7 +1300,7 @@ PyList_GetItemRef(PyObject *op, Py_ssize_t index) // gh-114329 added PyList_GetItemRef() to Python 3.13.0a4 #if PY_VERSION_HEX < 0x030D00A4 -static int +static inline int PyDict_SetDefaultRef(PyObject *d, PyObject *key, PyObject *default_value, PyObject **result) {