[Python-checkins] r86147 - python/branches/py3k/Objects/memoryobject.c

benjamin.peterson python-checkins at python.org
Thu Nov 4 00:11:10 CET 2010


Author: benjamin.peterson
Date: Thu Nov  4 00:11:10 2010
New Revision: 86147

Log:
deuglify

Modified:
   python/branches/py3k/Objects/memoryobject.c

Modified: python/branches/py3k/Objects/memoryobject.c
==============================================================================
--- python/branches/py3k/Objects/memoryobject.c	(original)
+++ python/branches/py3k/Objects/memoryobject.c	Thu Nov  4 00:11:10 2010
@@ -371,8 +371,9 @@
         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);


More information about the Python-checkins mailing list