mirror of
https://github.com/python/cpython.git
synced 2025-07-24 11:44:31 +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;
|
||||
}
|
||||
intTuple = PyTuple_New(len);
|
||||
if (!intTuple) return NULL;
|
||||
for(i=0; i<len; i++) {
|
||||
if (!intTuple)
|
||||
return NULL;
|
||||
for (i=0; i<len; i++) {
|
||||
o = PyLong_FromSsize_t(vals[i]);
|
||||
if (!o) {
|
||||
Py_DECREF(intTuple);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue