summaryrefslogtreecommitdiff
path: root/numpy/core/src
diff options
context:
space:
mode:
Diffstat (limited to 'numpy/core/src')
-rw-r--r--numpy/core/src/arraymethods.c1
-rw-r--r--numpy/core/src/scalartypes.inc.src4
2 files changed, 2 insertions, 3 deletions
diff --git a/numpy/core/src/arraymethods.c b/numpy/core/src/arraymethods.c
index 7814f1096..98206314f 100644
--- a/numpy/core/src/arraymethods.c
+++ b/numpy/core/src/arraymethods.c
@@ -754,7 +754,6 @@ static char doc_searchsorted[] = "a.searchsorted(v)\n"\
" be placed. This method is helpful for histograming. \n"\
" Note: No warning is given if the boundaries, in a, are not \n"\
" in ascending order.";
-;
static PyObject *
array_searchsorted(PyArrayObject *self, PyObject *args)
diff --git a/numpy/core/src/scalartypes.inc.src b/numpy/core/src/scalartypes.inc.src
index a47819913..4e5e96fdd 100644
--- a/numpy/core/src/scalartypes.inc.src
+++ b/numpy/core/src/scalartypes.inc.src
@@ -9,7 +9,7 @@ static int PyArrayScalar_Offset[PyArray_NTYPES+1];
#type=Bool, signed char, short, int, long, longlong, unsigned char, unsigned short, unsigned int, unsigned long, ulonglong, float, double, longdouble, cfloat, cdouble, clongdouble, PyObject *,char#
*/
typedef struct {
- PyObject_HEAD;
+ PyObject_HEAD
@type@ obval;
} Py@name@ScalarObject;
/**end repeat**/
@@ -37,7 +37,7 @@ static PyTypeObject Py@NAME@ArrType_Type = {
#define PyUnicodeScalarObject PyUnicodeObject
typedef struct {
- PyObject_VAR_HEAD;
+ PyObject_VAR_HEAD
char *obval;
PyArray_Descr *descr;
int flags;