Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Remove useless "extern" modifiers from classes declared inside of "ex…
…tern" sections.
  • Loading branch information
scoder committed Aug 2, 2020
commit e897b6feee36342b33687287ef627d5d259499f7
6 changes: 3 additions & 3 deletions numpy/__init__.pxd
Original file line number Diff line number Diff line change
Expand Up @@ -228,11 +228,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, check_size ignore]:
ctypedef class numpy.flatiter [object PyArrayIterObject, check_size ignore]:
# Use through macros
pass

ctypedef extern class numpy.broadcast [object PyArrayMultiIterObject, check_size ignore]:
ctypedef class numpy.broadcast [object PyArrayMultiIterObject, check_size ignore]:
cdef int numiter
cdef npy_intp size, index
cdef int nd
Expand Down Expand Up @@ -876,7 +876,7 @@ cdef extern from "numpy/ufuncobject.h":

ctypedef void (*PyUFuncGenericFunction) (char **, npy_intp *, npy_intp *, void *)

ctypedef extern class numpy.ufunc [object PyUFuncObject, check_size ignore]:
ctypedef class numpy.ufunc [object PyUFuncObject, check_size ignore]:
cdef:
int nin, nout, nargs
int identity
Expand Down