summaryrefslogtreecommitdiffstats
path: root/Objects/setobject.c
diff options
context:
space:
mode:
Diffstat (limited to 'Objects/setobject.c')
-rw-r--r--Objects/setobject.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/setobject.c b/Objects/setobject.c
index 4fbb645..6070fb6 100644
--- a/Objects/setobject.c
+++ b/Objects/setobject.c
@@ -15,7 +15,7 @@ set_update(PySetObject *so, PyObject *other)
PyObject *item, *data, *it;
if (PyAnySet_Check(other)) {
- if (PyDict_Merge(so->data, ((PySetObject *)other)->data, 0) == -1)
+ if (PyDict_Merge(so->data, ((PySetObject *)other)->data, 1) == -1)
return NULL;
Py_RETURN_NONE;
}