diff options
Diffstat (limited to 'Objects/longobject.c')
-rw-r--r-- | Objects/longobject.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Objects/longobject.c b/Objects/longobject.c index 3c98385f53..d7b01cebac 100644 --- a/Objects/longobject.c +++ b/Objects/longobject.c @@ -4103,8 +4103,8 @@ long_divmod(PyObject *a, PyObject *b) } z = PyTuple_New(2); if (z != NULL) { - PyTuple_SetItem(z, 0, (PyObject *) div); - PyTuple_SetItem(z, 1, (PyObject *) mod); + PyTuple_SET_ITEM(z, 0, (PyObject *) div); + PyTuple_SET_ITEM(z, 1, (PyObject *) mod); } else { Py_DECREF(div); |