Kaydet (Commit) d1a9cc29 authored tarafından Victor Stinner's avatar Victor Stinner

dictviews_or() uses _Py_identifier

üst bfc6d74b
......@@ -2747,10 +2747,12 @@ dictviews_or(PyObject* self, PyObject *other)
{
PyObject *result = PySet_New(self);
PyObject *tmp;
_Py_identifier(update);
if (result == NULL)
return NULL;
tmp = PyObject_CallMethod(result, "update", "O", other);
tmp = _PyObject_CallMethodId(result, &PyId_update, "O", other);
if (tmp == NULL) {
Py_DECREF(result);
return NULL;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment