diff options
| author | Sebastian Berg <sebastian@sipsolutions.net> | 2021-03-29 13:46:39 -0500 |
|---|---|---|
| committer | Sebastian Berg <sebastian@sipsolutions.net> | 2021-03-29 14:03:47 -0500 |
| commit | a115369c630fd373acbb80464a0122722a521185 (patch) | |
| tree | ce78cf636bf0a404f806328dbbf05f1016227912 /numpy/__init__.pxd | |
| parent | b6a1677133efedefabe791ec532e08005d903135 (diff) | |
| download | numpy-a115369c630fd373acbb80464a0122722a521185.tar.gz | |
DEP: Disable PyUFunc_GenericFunction and PyUFunc_SetUsesArraysAsData
Both functions have been deprecated in 1.19.x without complaints
(so far). The first function is largely identical to a Python ufunc
call. The second function had served internal NumPy purposes until
NumPy 1.6 (probably), and since then had a comment that it should
probably be removed (it was not documented).
Diffstat (limited to 'numpy/__init__.pxd')
| -rw-r--r-- | numpy/__init__.pxd | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/numpy/__init__.pxd b/numpy/__init__.pxd index fd704b7e3..97f3da2e5 100644 --- a/numpy/__init__.pxd +++ b/numpy/__init__.pxd @@ -868,8 +868,6 @@ cdef extern from "numpy/ufuncobject.h": void **, char *, int, int, int, int, char *, char *, int) int PyUFunc_RegisterLoopForType(ufunc, int, PyUFuncGenericFunction, int *, void *) - int PyUFunc_GenericFunction \ - (ufunc, PyObject *, PyObject *, PyArrayObject **) void PyUFunc_f_f_As_d_d \ (char **, npy_intp *, npy_intp *, void *) void PyUFunc_d_d \ |
