diff options
author | Melissa Weber Mendonça <melissawm@gmail.com> | 2022-12-11 10:46:19 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-11 10:46:19 -0300 |
commit | b0fdcb3b80577033611d6d9ff690ecc64f1d636a (patch) | |
tree | 5413193e8b58ba23c8c71ffc1544fd953ba22064 | |
parent | 825e3942dd380bd5303af61cc8a0a63fc703b0ee (diff) | |
parent | 90fef8167f132ee2d078ac833be475c5125a64f3 (diff) | |
download | numpy-b0fdcb3b80577033611d6d9ff690ecc64f1d636a.tar.gz |
Merge pull request #22775 from eltociear/patch-6
DOC: fix typo in basics.dispatch.rst
-rw-r--r-- | doc/source/user/basics.dispatch.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/source/user/basics.dispatch.rst b/doc/source/user/basics.dispatch.rst index 7c30272ad..a493ef769 100644 --- a/doc/source/user/basics.dispatch.rst +++ b/doc/source/user/basics.dispatch.rst @@ -281,14 +281,14 @@ Numpy provides some utilities to aid testing of custom array containers that implement the ``__array_ufunc__`` and ``__array_function__`` protocols in the ``numpy.testing.overrides`` namespace. -To check if a Numpy function can be overriden via ``__array_ufunc__``, you can +To check if a Numpy function can be overridden via ``__array_ufunc__``, you can use :func:`~numpy.testing.overrides.allows_array_ufunc_override`: >>> from np.testing.overrides import allows_array_ufunc_override >>> allows_array_ufunc_override(np.add) True -Similarly, you can check if a function can be overriden via +Similarly, you can check if a function can be overridden via ``__array_function__`` using :func:`~numpy.testing.overrides.allows_array_function_override`. |