This commit is contained in:
Benjamin Peterson 2010-11-03 23:11:10 +00:00
parent b6d4a8e4de
commit 83473288a8

View file

@ -371,7 +371,8 @@ _IntTupleFromSsizet(int len, Py_ssize_t *vals)
return Py_None;
}
intTuple = PyTuple_New(len);
if (!intTuple) return NULL;
if (!intTuple)
return NULL;
for (i=0; i<len; i++) {
o = PyLong_FromSsize_t(vals[i]);
if (!o) {