We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d9daa53 commit 9046498Copy full SHA for 9046498
arraykit.c
@@ -156,7 +156,7 @@ AK_ArrayDeepCopy(PyArrayObject *array, PyObject *memo)
156
if (!id) {
157
return NULL;
158
}
159
- PyObject *found = PyDict_GetItem(memo, id);
+ PyObject *found = PyDict_GetItemWithError(memo, id);
160
if (found) { // found will be NULL if not in dict
161
Py_INCREF(found); // got a borrowed ref, increment first
162
Py_DECREF(id);
0 commit comments