summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Objects/dictobject.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/dictobject.c b/Objects/dictobject.c
index 82e82a8..1be3477 100644
--- a/Objects/dictobject.c
+++ b/Objects/dictobject.c
@@ -1291,7 +1291,7 @@ PyDict_Copy(PyObject *o)
if (PyDict_Merge(copy, o, 1) == 0)
return copy;
Py_DECREF(copy);
- return copy;
+ return NULL;
}
int