diff options
author | Ikko Ashimine <eltociear@gmail.com> | 2022-12-11 21:28:04 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-11 21:28:04 +0900 |
commit | 90fef8167f132ee2d078ac833be475c5125a64f3 (patch) | |
tree | 5413193e8b58ba23c8c71ffc1544fd953ba22064 /doc/source/user | |
parent | 825e3942dd380bd5303af61cc8a0a63fc703b0ee (diff) | |
download | numpy-90fef8167f132ee2d078ac833be475c5125a64f3.tar.gz |
DOC: fix typo in basics.dispatch.rst
overriden -> overridden
Diffstat (limited to 'doc/source/user')
-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`. |