mirror of
https://github.com/python/cpython.git
synced 2025-09-26 18:29:57 +00:00
deuglify
This commit is contained in:
parent
b6d4a8e4de
commit
83473288a8
1 changed files with 3 additions and 2 deletions
|
@ -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);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue