Commit 83473288 authored by Benjamin Peterson's avatar Benjamin Peterson

deuglify

parent b6d4a8e4
...@@ -371,8 +371,9 @@ _IntTupleFromSsizet(int len, Py_ssize_t *vals) ...@@ -371,8 +371,9 @@ _IntTupleFromSsizet(int len, Py_ssize_t *vals)
return Py_None; return Py_None;
} }
intTuple = PyTuple_New(len); intTuple = PyTuple_New(len);
if (!intTuple) return NULL; if (!intTuple)
for(i=0; i<len; i++) { return NULL;
for (i=0; i<len; i++) {
o = PyLong_FromSsize_t(vals[i]); o = PyLong_FromSsize_t(vals[i]);
if (!o) { if (!o) {
Py_DECREF(intTuple); Py_DECREF(intTuple);
......
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