summaryrefslogtreecommitdiff
path: root/doc/source/reference
diff options
context:
space:
mode:
Diffstat (limited to 'doc/source/reference')
-rw-r--r--doc/source/reference/c-api.types-and-structures.rst7
-rw-r--r--doc/source/reference/c-api.ufunc.rst11
2 files changed, 5 insertions, 13 deletions
diff --git a/doc/source/reference/c-api.types-and-structures.rst b/doc/source/reference/c-api.types-and-structures.rst
index 35ffc2d1e..d7342bd9e 100644
--- a/doc/source/reference/c-api.types-and-structures.rst
+++ b/doc/source/reference/c-api.types-and-structures.rst
@@ -681,7 +681,7 @@ PyUFunc_Type
PyUFuncGenericFunction *functions;
void **data;
int ntypes;
- int check_return;
+ int reserved1;
const char *name;
char *types;
const char *doc;
@@ -748,11 +748,6 @@ PyUFunc_Type
specifies how many different 1-d loops (of the builtin data types) are
available.
- .. c:member:: int PyUFuncObject.check_return
-
- Obsolete and unused. However, it is set by the corresponding entry in
- the main ufunc creation routine: :c:func:`PyUFunc_FromFuncAndData` (...).
-
.. c:member:: char *PyUFuncObject.name
A string name for the ufunc. This is used dynamically to build
diff --git a/doc/source/reference/c-api.ufunc.rst b/doc/source/reference/c-api.ufunc.rst
index ee1822122..892ccbdc7 100644
--- a/doc/source/reference/c-api.ufunc.rst
+++ b/doc/source/reference/c-api.ufunc.rst
@@ -67,7 +67,7 @@ Functions
.. c:function:: PyObject* PyUFunc_FromFuncAndData(PyUFuncGenericFunction* func,
void** data, char* types, int ntypes, int nin, int nout, int identity,
- char* name, char* doc, int check_return)
+ char* name, char* doc, int unused)
Create a new broadcasting universal function from required variables.
Each ufunc builds around the notion of an element-by-element
@@ -121,15 +121,12 @@ Functions
dynamically determined from the object and available when
accessing the **__doc__** attribute of the ufunc.
- :param check_return:
- Unused and present for backwards compatibility of the C-API. A
- corresponding *check_return* integer does exist in the ufunc
- structure and it does get set with this value when the ufunc
- object is created.
+ :param unused:
+ Unused and present for backwards compatibility of the C-API.
.. c:function:: PyObject* PyUFunc_FromFuncAndDataAndSignature(PyUFuncGenericFunction* func,
void** data, char* types, int ntypes, int nin, int nout, int identity,
- char* name, char* doc, int check_return, char *signature)
+ char* name, char* doc, int unused, char *signature)
This function is very similar to PyUFunc_FromFuncAndData above, but has
an extra *signature* argument, to define generalized universal functions.