summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Behnel <stefan_ml@behnel.de>2020-08-02 12:43:10 +0200
committerStefan Behnel <stefan_ml@behnel.de>2020-08-02 12:43:10 +0200
commite477b14bf129c065fd7c31d94cd60c6a736eab2c (patch)
tree0dd3330b2e123d36ae322d9b2ae0dfcc61096e8b
parentb270cf36e486fc880e786593a9b374cfbae7e3d1 (diff)
downloadcython-e477b14bf129c065fd7c31d94cd60c6a736eab2c.tar.gz
Remove useless "extern" modifiers from cdef classes declared in "extern" sections.
-rw-r--r--Cython/Includes/numpy/__init__.pxd6
1 files changed, 3 insertions, 3 deletions
diff --git a/Cython/Includes/numpy/__init__.pxd b/Cython/Includes/numpy/__init__.pxd
index 9d7a6112b..f5e215134 100644
--- a/Cython/Includes/numpy/__init__.pxd
+++ b/Cython/Includes/numpy/__init__.pxd
@@ -227,11 +227,11 @@ cdef extern from "numpy/arrayobject.h":
# this field via the inline helper method PyDataType_SHAPE.
cdef PyArray_ArrayDescr* subarray
- ctypedef extern class numpy.flatiter [object PyArrayIterObject]:
+ ctypedef class numpy.flatiter [object PyArrayIterObject, check_size ignore]:
# Use through macros
pass
- ctypedef extern class numpy.broadcast [object PyArrayMultiIterObject]:
+ ctypedef class numpy.broadcast [object PyArrayMultiIterObject, check_size ignore]:
# Use through macros
pass
@@ -915,7 +915,7 @@ cdef extern from "numpy/ufuncobject.h":
ctypedef void (*PyUFuncGenericFunction) (char **, npy_intp *, npy_intp *, void *)
- ctypedef extern class numpy.ufunc [object PyUFuncObject]:
+ ctypedef class numpy.ufunc [object PyUFuncObject, check_size ignore]:
cdef:
int nin, nout, nargs
int identity