summaryrefslogtreecommitdiff
path: root/doc/source/reference/c-api
diff options
context:
space:
mode:
authorMatti Picus <matti.picus@gmail.com>2021-07-28 22:24:36 +0300
committerGitHub <noreply@github.com>2021-07-28 22:24:36 +0300
commit2c1a34daa024398cdf9c6e1fbeff52b4eb280551 (patch)
tree67644370dec385ec09793332170276ce3af8147d /doc/source/reference/c-api
parente12112e7caf72f93e07128f6e7a8a3399f1c6bc9 (diff)
parentc6fdddeddbbe176ada161955094739998ff15272 (diff)
downloadnumpy-2c1a34daa024398cdf9c6e1fbeff52b4eb280551.tar.gz
Merge pull request #19571 from seberg/ufunc-refactor-2021-normal
MAINT: Refactor UFunc core to use NEP 43 style dispatching
Diffstat (limited to 'doc/source/reference/c-api')
-rw-r--r--doc/source/reference/c-api/types-and-structures.rst10
1 files changed, 7 insertions, 3 deletions
diff --git a/doc/source/reference/c-api/types-and-structures.rst b/doc/source/reference/c-api/types-and-structures.rst
index 75a97c20e..54a1e09e1 100644
--- a/doc/source/reference/c-api/types-and-structures.rst
+++ b/doc/source/reference/c-api/types-and-structures.rst
@@ -818,6 +818,7 @@ PyUFunc_Type and PyUFuncObject
npy_intp *core_dim_sizes;
npy_uint32 *core_dim_flags;
PyObject *identity_value;
+ /* Further private slots (size depends on the NumPy version) */
} PyUFuncObject;
.. c:macro: PyObject_HEAD
@@ -957,9 +958,12 @@ PyUFunc_Type and PyUFuncObject
.. c:member:: PyUFunc_LegacyInnerLoopSelectionFunc *legacy_inner_loop_selector
- A function which returns an inner loop. The ``legacy`` in the name arises
- because for NumPy 1.6 a better variant had been planned. This variant
- has not yet come about.
+ .. deprecated:: 1.22
+
+ Some fallback support for this slot exists, but will be removed
+ eventually. A univiersal function which relied on this will have
+ eventually have to be ported.
+ See ref:`NEP 41 <NEP41>` and ref:`NEP 43 <NEP43>`
.. c:member:: void *reserved2