summaryrefslogtreecommitdiff
path: root/numpy/core/src/arrayobject.c
diff options
context:
space:
mode:
authorTravis Oliphant <oliphant@enthought.com>2006-04-11 07:14:15 +0000
committerTravis Oliphant <oliphant@enthought.com>2006-04-11 07:14:15 +0000
commit5326f8922066ad8e3adc27ef26b75fd6d4d2b895 (patch)
tree0543cc7716da0c6d499b383d02b6459f22e0aa00 /numpy/core/src/arrayobject.c
parentc71689e56764c93535481273c6a2be857ac08764 (diff)
downloadnumpy-5326f8922066ad8e3adc27ef26b75fd6d4d2b895.tar.gz
Comment changes. Fix-up byte-swapping on pickle read so that descriptor is also changed.
Diffstat (limited to 'numpy/core/src/arrayobject.c')
-rw-r--r--numpy/core/src/arrayobject.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/numpy/core/src/arrayobject.c b/numpy/core/src/arrayobject.c
index f82cc8d57..1d674fb5f 100644
--- a/numpy/core/src/arrayobject.c
+++ b/numpy/core/src/arrayobject.c
@@ -8824,6 +8824,7 @@ arraydescr_setstate(PyArray_Descr *self, PyObject *args)
/*OBJECT_API
Deep bytorder change of a data-type descriptor
+ *** Leaves reference count of self unchanged --- does not DECREF self ***
*/
static PyArray_Descr *
PyArray_DescrNewByteorder(PyArray_Descr *self, char newendian)