summaryrefslogtreecommitdiff
path: root/Objects
diff options
context:
space:
mode:
Diffstat (limited to 'Objects')
-rw-r--r--Objects/dictobject.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/Objects/dictobject.c b/Objects/dictobject.c
index 2f86946b98..5c3f1fb3c1 100644
--- a/Objects/dictobject.c
+++ b/Objects/dictobject.c
@@ -4225,14 +4225,6 @@ _PyDictView_Intersect(PyObject* self, PyObject *other)
it = PyObject_GetIter(other);
- _Py_IDENTIFIER(intersection_update);
- tmp = _PyObject_CallMethodIdOneArg(result, &PyId_intersection_update, other);
- if (tmp == NULL) {
- Py_DECREF(result);
- return NULL;
- }
- Py_DECREF(tmp);
-
if (PyDictKeys_Check(self)) {
dict_contains = dictkeys_contains;
}