Kaydet (Commit) 74d8d63b authored tarafından Christian Heimes's avatar Christian Heimes

Issue #17810: return -1 on error

üst b3d3ee4f
......@@ -2941,7 +2941,7 @@ save_frozenset(PicklerObject *self, PyObject *obj)
iter = PyObject_GetIter(obj);
if (iter == NULL) {
return NULL;
return -1;
}
for (;;) {
PyObject *item;
......
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