Issue #26200: Restored more safe usages of Py_SETREF.

This commit is contained in:
Serhiy Storchaka 2016-04-11 09:53:37 +03:00
parent 199e3f8b96
commit 864b63c33f
1 changed files with 3 additions and 3 deletions

View File

@ -294,9 +294,9 @@ partial_setstate(partialobject *pto, PyObject *state)
else
Py_INCREF(dict);
Py_XSETREF(pto->fn, fn);
Py_XSETREF(pto->args, fnargs);
Py_XSETREF(pto->kw, kw);
Py_SETREF(pto->fn, fn);
Py_SETREF(pto->args, fnargs);
Py_SETREF(pto->kw, kw);
Py_XSETREF(pto->dict, dict);
Py_RETURN_NONE;
}