Fix missing return value. Spotted by Neal Norwitz
This commit is contained in:
parent
601b963be0
commit
2731ae4d6d
|
@ -525,6 +525,7 @@ list_ass_slice(PyListObject *a, int ilow, int ihigh, PyObject *v)
|
|||
if (list_resize(a, s+d) == -1) {
|
||||
if (recycle != NULL)
|
||||
PyMem_DEL(recycle);
|
||||
return -1;
|
||||
}
|
||||
item = a->ob_item;
|
||||
for (k = s; --k >= ihigh; )
|
||||
|
|
Loading…
Reference in New Issue