<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">--- ./Src/arrayobject.c.orig	2005-11-11 20:30:18.000000000 +1300
+++ ./Src/arrayobject.c	2006-03-10 17:55:59.000000000 +1300
@@ -12,7 +12,7 @@
   performance for heterogeneity.
 */
 
-/* $Id: arrayobject.c,v 1.107 2005/11/09 19:43:39 teoliphant Exp $ */
+/* $Id: arrayobject.c,v 1.108 2006/03/10 04:55:59 teoliphant Exp $ */
 
 #include "Python.h"
 #include &lt;stddef.h&gt;
@@ -1866,9 +1866,7 @@
     for (i=0; i&lt;sz; i++) {
 	v=array_item((PyArrayObject *)self, i);
 	PyList_SetItem(lp, i, PyArray_ToList(v));
-	if (((PyArrayObject *)self)-&gt;nd&gt;1){
-	    Py_DECREF(v);
-	}
+	Py_DECREF(v);
     }
</pre></body></html>