]> granicus.if.org Git - python/commitdiff
deuglify
authorBenjamin Peterson <benjamin@python.org>
Wed, 3 Nov 2010 23:11:10 +0000 (23:11 +0000)
committerBenjamin Peterson <benjamin@python.org>
Wed, 3 Nov 2010 23:11:10 +0000 (23:11 +0000)
Objects/memoryobject.c

index 36626b2cdd427d7ed1adb440de4d70cc14ab6cd2..432673091da838ee0e3fb389bbfcc8c148ddb2de 100644 (file)
@@ -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);