From bc80f4d275a2e9240951fcbf90350d6cd9afcf0e Mon Sep 17 00:00:00 2001 From: Dag Sverre Seljebotn Date: Mon, 10 Nov 2008 14:15:31 +0100 Subject: [PATCH] cleanup --- Cython/Includes/numpy.pxd | 2 -- 1 file changed, 2 deletions(-) diff --git a/Cython/Includes/numpy.pxd b/Cython/Includes/numpy.pxd index 3049ae53..ca840dc5 100644 --- a/Cython/Includes/numpy.pxd +++ b/Cython/Includes/numpy.pxd @@ -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): -- 2.26.2