Kaydet (Commit) 529fcfe3 authored tarafından Barry Warsaw's avatar Barry Warsaw

list2set(): correct return value (an int, not a PyObject*).

üst 0969ad21
......@@ -101,7 +101,7 @@ list2set(list, set, fd2obj)
/* any intervening fileno() calls could decr this refcnt */
if (!(o = PyList_GetItem(list, i)))
return NULL;
return -1;
Py_INCREF(o);
......
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