cleanup
authorDag Sverre Seljebotn <dagss@student.matnat.uio.no>
Mon, 10 Nov 2008 13:15:31 +0000 (14:15 +0100)
committerDag Sverre Seljebotn <dagss@student.matnat.uio.no>
Mon, 10 Nov 2008 13:15:31 +0000 (14:15 +0100)
Cython/Includes/numpy.pxd

index 3049ae5396fe2849eec16dec4ccf8a367856ca2b..ca840dc5092c0662d8623de0a1ab21cf1400bc64 100644 (file)
@@ -185,8 +185,6 @@ cdef extern from "numpy/arrayobject.h":
                         stack.append(iter(descr.fields.iteritems()))
                 
         def __releasebuffer__(ndarray self, Py_buffer* info):
-            # This can not be called unless format needs to be freed (as
-            # obj is set to NULL in those case)
             if PyArray_HASFIELDS(self):
                 stdlib.free(info.format)
             if sizeof(npy_intp) != sizeof(Py_ssize_t):