diff options
author | Raymond Hettinger <python@rcn.com> | 2016-09-19 04:46:08 (GMT) |
---|---|---|
committer | Raymond Hettinger <python@rcn.com> | 2016-09-19 04:46:08 (GMT) |
commit | 6692f01c91b9ca0eafc4e8033bb2757b70f83fa4 (patch) | |
tree | 620a6cbc512e7e23e52b2cdf46bbdbe9b318ad44 /Objects/dictobject.c | |
parent | 5820f3a3814f0e4983229424388a5e2964758b03 (diff) | |
download | cpython-6692f01c91b9ca0eafc4e8033bb2757b70f83fa4.zip cpython-6692f01c91b9ca0eafc4e8033bb2757b70f83fa4.tar.gz cpython-6692f01c91b9ca0eafc4e8033bb2757b70f83fa4.tar.bz2 |
merge
Diffstat (limited to 'Objects/dictobject.c')
-rw-r--r-- | Objects/dictobject.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/dictobject.c b/Objects/dictobject.c index 0476442..25fdedd 100644 --- a/Objects/dictobject.c +++ b/Objects/dictobject.c @@ -4035,7 +4035,7 @@ dictitems_contains(_PyDictViewObject *dv, PyObject *obj) return 0; key = PyTuple_GET_ITEM(obj, 0); value = PyTuple_GET_ITEM(obj, 1); - found = PyDict_GetItem((PyObject *)dv->dv_dict, key); + found = PyDict_GetItemWithError((PyObject *)dv->dv_dict, key); if (found == NULL) { if (PyErr_Occurred()) return -1; |