Skip to content

Commit 8347328

Browse files
committed
deuglify
1 parent b6d4a8e commit 8347328

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

Objects/memoryobject.c

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -371,8 +371,9 @@ _IntTupleFromSsizet(int len, Py_ssize_t *vals)
371371
return Py_None;
372372
}
373373
intTuple = PyTuple_New(len);
374-
if (!intTuple) return NULL;
375-
for(i=0; i<len; i++) {
374+
if (!intTuple)
375+
return NULL;
376+
for (i=0; i<len; i++) {
376377
o = PyLong_FromSsize_t(vals[i]);
377378
if (!o) {
378379
Py_DECREF(intTuple);

0 commit comments

Comments
 (0)