diff options
Diffstat (limited to 'doc/source')
-rw-r--r-- | doc/source/reference/c-api/ufunc.rst | 18 | ||||
-rw-r--r-- | doc/source/release/1.22.0-notes.rst | 6 |
2 files changed, 14 insertions, 10 deletions
diff --git a/doc/source/reference/c-api/ufunc.rst b/doc/source/reference/c-api/ufunc.rst index 95dc47839..2909ce9af 100644 --- a/doc/source/reference/c-api/ufunc.rst +++ b/doc/source/reference/c-api/ufunc.rst @@ -79,7 +79,7 @@ Types .. c:type:: PyUFuncGenericFunction - pointers to functions that actually implement the underlying + Pointers to functions that actually implement the underlying (element-by-element) function :math:`N` times with the following signature: @@ -107,7 +107,10 @@ Types Arbitrary data (extra arguments, function names, *etc.* ) that can be stored with the ufunc and will be passed in - when it is called. + when it is called. May be ``NULL``. + + .. versionchanged:: 1.23.0 + Accepts ``NULL`` `data` in addition to array of ``NULL`` values. This is an example of a func specialized for addition of doubles returning doubles. @@ -154,13 +157,14 @@ Functions ufunc object is alive. :param func: - Must to an array of length *ntypes* containing - :c:type:`PyUFuncGenericFunction` items. + Must point to an array containing *ntypes* + :c:type:`PyUFuncGenericFunction` elements. :param data: - Should be ``NULL`` or a pointer to an array of size *ntypes* - . This array may contain arbitrary extra-data to be passed to - the corresponding loop function in the func array. + Should be ``NULL`` or a pointer to an array of size *ntypes*. + This array may contain arbitrary extra-data to be passed to + the corresponding loop function in the func array, including + ``NULL``. :param types: Length ``(nin + nout) * ntypes`` array of ``char`` encoding the diff --git a/doc/source/release/1.22.0-notes.rst b/doc/source/release/1.22.0-notes.rst index 5e215de42..2cbb24b60 100644 --- a/doc/source/release/1.22.0-notes.rst +++ b/doc/source/release/1.22.0-notes.rst @@ -450,9 +450,9 @@ double precision functions respectively. (`gh-19478 <https://github.com/numpy/numpy/pull/19478>`__) -OpenBLAS v0.3.17 +OpenBLAS v0.3.18 ---------------- -Update the OpenBLAS used in testing and in wheels to v0.3.17 +Update the OpenBLAS used in testing and in wheels to v0.3.18 -(`gh-19462 <https://github.com/numpy/numpy/pull/19462>`__) +(`gh-20058 <https://github.com/numpy/numpy/pull/20058>`__) |