diff options
author | Charles Harris <charlesr.harris@gmail.com> | 2022-01-13 09:03:17 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-13 09:03:17 -0700 |
commit | c6d95f57bff1ae390b3539bd46f1c74695b861eb (patch) | |
tree | 97539532377c89f6dd8468c82b7501f0bc8cde54 /doc/source/reference/c-api | |
parent | 5fee4748117e752c42ee489810f272b3e65dffd3 (diff) | |
parent | 58dbe260a2e41c31f1ab03e1abdb1f01da4c1edc (diff) | |
download | numpy-c6d95f57bff1ae390b3539bd46f1c74695b861eb.tar.gz |
Merge pull request #20811 from DimitriPapadopoulos/repeated
MAINT, DOC: discard repeated words
Diffstat (limited to 'doc/source/reference/c-api')
-rw-r--r-- | doc/source/reference/c-api/iterator.rst | 2 | ||||
-rw-r--r-- | doc/source/reference/c-api/ufunc.rst | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/doc/source/reference/c-api/iterator.rst b/doc/source/reference/c-api/iterator.rst index 83644d8b2..b4adaef9b 100644 --- a/doc/source/reference/c-api/iterator.rst +++ b/doc/source/reference/c-api/iterator.rst @@ -653,7 +653,7 @@ Construction and Destruction may not be repeated. The following example is how normal broadcasting applies to a 3-D array, a 2-D array, a 1-D array and a scalar. - **Note**: Before NumPy 1.8 ``oa_ndim == 0` was used for signalling that + **Note**: Before NumPy 1.8 ``oa_ndim == 0` was used for signalling that ``op_axes`` and ``itershape`` are unused. This is deprecated and should be replaced with -1. Better backward compatibility may be achieved by using :c:func:`NpyIter_MultiNew` for this case. diff --git a/doc/source/reference/c-api/ufunc.rst b/doc/source/reference/c-api/ufunc.rst index 2909ce9af..39447ae24 100644 --- a/doc/source/reference/c-api/ufunc.rst +++ b/doc/source/reference/c-api/ufunc.rst @@ -171,7 +171,7 @@ Functions `numpy.dtype.num` (built-in only) that the corresponding function in the ``func`` array accepts. For instance, for a comparison ufunc with three ``ntypes``, two ``nin`` and one ``nout``, where the - first function accepts `numpy.int32` and the the second + first function accepts `numpy.int32` and the second `numpy.int64`, with both returning `numpy.bool_`, ``types`` would be ``(char[]) {5, 5, 0, 7, 7, 0}`` since ``NPY_INT32`` is 5, ``NPY_INT64`` is 7, and ``NPY_BOOL`` is 0. |