diff options
author | mdroe <mdroe@localhost> | 2009-11-23 17:32:48 +0000 |
---|---|---|
committer | mdroe <mdroe@localhost> | 2009-11-23 17:32:48 +0000 |
commit | df1edd4f4ec28fd14db64ce565b49c0e1b0f6bb9 (patch) | |
tree | 886ebe8b4f0ba18ec36c39cb5db169538dd5002e /numpy | |
parent | d857eaf35b6a51b7208c90eb20c963ffe9c7cdf2 (diff) | |
download | numpy-df1edd4f4ec28fd14db64ce565b49c0e1b0f6bb9.tar.gz |
Remove extra comma in enum for C89 and C++ compatibility.
Diffstat (limited to 'numpy')
-rw-r--r-- | numpy/core/include/numpy/ndarrayobject.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/numpy/core/include/numpy/ndarrayobject.h b/numpy/core/include/numpy/ndarrayobject.h index 0b2dc20ae..32ad7ef1f 100644 --- a/numpy/core/include/numpy/ndarrayobject.h +++ b/numpy/core/include/numpy/ndarrayobject.h @@ -736,7 +736,7 @@ typedef int (PyArray_FinalizeFunc)(PyArrayObject *, PyObject *); #define NPY_DISABLE_C_API #endif -/***************************** +/***************************** * Basic iterator object *****************************/ @@ -993,14 +993,14 @@ enum { NPY_NEIGHBORHOOD_ITER_ONE_PADDING, NPY_NEIGHBORHOOD_ITER_CONSTANT_PADDING, NPY_NEIGHBORHOOD_ITER_CIRCULAR_PADDING, - NPY_NEIGHBORHOOD_ITER_MIRROR_PADDING, + NPY_NEIGHBORHOOD_ITER_MIRROR_PADDING }; typedef struct { PyObject_HEAD - /* - * PyArrayIterObject part: keep this in this exact order + /* + * PyArrayIterObject part: keep this in this exact order */ int nd_m1; /* number of dimensions - 1 */ npy_intp index, size; @@ -1018,7 +1018,7 @@ typedef struct { npy_intp limits_sizes[NPY_MAXDIMS]; npy_iter_get_dataptr_t translate; - /* + /* * New members */ npy_intp nd; @@ -1438,10 +1438,10 @@ typedef struct { #include "old_defines.h" -/* - Check to see if this key in the dictionary is the "title" +/* + Check to see if this key in the dictionary is the "title" entry of the tuple (i.e. a duplicate dictionary entry in the fields - dict. + dict. */ #define NPY_TITLE_KEY(key, value) ((PyTuple_GET_SIZE((value))==3) && \ |