summaryrefslogtreecommitdiff
path: root/doc/source/reference/c-api
diff options
context:
space:
mode:
authorSebastian Berg <sebastian@sipsolutions.net>2020-01-15 18:29:59 -0600
committerSebastian Berg <sebastian@sipsolutions.net>2020-01-15 18:31:47 -0600
commit68e8d47e68a45ed1ce2fd2870e78265f051a2ceb (patch)
tree90ec3a6f94b746586ffb22abd68fcc036d4d2d8e /doc/source/reference/c-api
parentb425ce69054daee63bd43ec922d1c741e1a8e97b (diff)
downloadnumpy-68e8d47e68a45ed1ce2fd2870e78265f051a2ceb.tar.gz
DEP: Actually deprecate fasttake and fastclipmask
Diffstat (limited to 'doc/source/reference/c-api')
-rw-r--r--doc/source/reference/c-api/types-and-structures.rst12
1 files changed, 10 insertions, 2 deletions
diff --git a/doc/source/reference/c-api/types-and-structures.rst b/doc/source/reference/c-api/types-and-structures.rst
index 336dff211..5d6c2f279 100644
--- a/doc/source/reference/c-api/types-and-structures.rst
+++ b/doc/source/reference/c-api/types-and-structures.rst
@@ -453,8 +453,8 @@ PyArrayDescr_Type and PyArray_Descr
int **cancastscalarkindto;
int *cancastto;
PyArray_FastClipFunc *fastclip;
- PyArray_FastPutmaskFunc *fastputmask;
- PyArray_FastTakeFunc *fasttake;
+ PyArray_FastPutmaskFunc *fastputmask; /* deprecated */
+ PyArray_FastTakeFunc *fasttake; /* deprecated */
PyArray_ArgFunc *argmin;
} PyArray_ArrFuncs;
@@ -650,6 +650,10 @@ PyArrayDescr_Type and PyArray_Descr
.. c:member:: void fastputmask( \
void *in, void *mask, npy_intp n_in, void *values, npy_intp nv)
+ .. deprecated:: 1.19
+ Setting this function is deprecated and should always be ``NULL``,
+ if set, it will be ignored.
+
A function that takes a pointer ``in`` to an array of ``n_in``
items, a pointer ``mask`` to an array of ``n_in`` boolean
values, and a pointer ``vals`` to an array of ``nv`` items.
@@ -662,6 +666,10 @@ PyArrayDescr_Type and PyArray_Descr
npy_intp n_outer, npy_intp m_middle, npy_intp nelem, \
NPY_CLIPMODE clipmode)
+ .. deprecated:: 1.19
+ Setting this function is deprecated and should always be ``NULL``,
+ if set, it will be ignored.
+
A function that takes a pointer ``src`` to a C contiguous,
behaved segment, interpreted as a 3-dimensional array of shape
``(n_outer, nindarray, nelem)``, a pointer ``indarray`` to a