Skip to content

Commit 01341ac

Browse files
authored
Fix PyDict_SetDefaultRef() definition (#92)
1 parent 9bfd8de commit 01341ac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pythoncapi_compat.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -1300,7 +1300,7 @@ PyList_GetItemRef(PyObject *op, Py_ssize_t index)
13001300

13011301
// gh-114329 added PyList_GetItemRef() to Python 3.13.0a4
13021302
#if PY_VERSION_HEX < 0x030D00A4
1303-
static int
1303+
static inline int
13041304
PyDict_SetDefaultRef(PyObject *d, PyObject *key, PyObject *default_value,
13051305
PyObject **result)
13061306
{

0 commit comments

Comments
 (0)