diff options
author | mattip <matti.picus@gmail.com> | 2019-10-15 11:26:07 +0300 |
---|---|---|
committer | mattip <matti.picus@gmail.com> | 2019-10-15 13:16:51 +0300 |
commit | 2300ae084b73ab961b7945d7b0bf4ad3162a7ce2 (patch) | |
tree | 4e9c3f61a284b81f5605da5382f2b287c40628ae /doc/source/reference/arrays.classes.rst | |
parent | cf2f4e0782f130258d3bdafebfbcab889874610a (diff) | |
download | numpy-2300ae084b73ab961b7945d7b0bf4ad3162a7ce2.tar.gz |
DOC: fix build failure
Diffstat (limited to 'doc/source/reference/arrays.classes.rst')
-rw-r--r-- | doc/source/reference/arrays.classes.rst | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/source/reference/arrays.classes.rst b/doc/source/reference/arrays.classes.rst index 39410b2a4..39b7c6b1c 100644 --- a/doc/source/reference/arrays.classes.rst +++ b/doc/source/reference/arrays.classes.rst @@ -280,7 +280,7 @@ NumPy provides several hooks that classes can customize: .. py:method:: class.__array_prepare__(array, context=None) - At the beginning of every :ref:`ufunc <ufuncs.output-type>`, this + At the beginning of every :ref:`ufunc <ufuncs-output-type>`, this method is called on the input object with the highest array priority, or the output object if one was specified. The output array is passed in and whatever is returned is passed to the ufunc. @@ -295,7 +295,7 @@ NumPy provides several hooks that classes can customize: .. py:method:: class.__array_wrap__(array, context=None) - At the end of every :ref:`ufunc <ufuncs.output-type>`, this method + At the end of every :ref:`ufunc <ufuncs-output-type>`, this method is called on the input object with the highest array priority, or the output object if one was specified. The ufunc-computed array is passed in and whatever is returned is passed to the user. @@ -322,7 +322,7 @@ NumPy provides several hooks that classes can customize: If a class (ndarray subclass or not) having the :func:`__array__` method is used as the output object of an :ref:`ufunc - <ufuncs.output-type>`, results will be written to the object + <ufuncs-output-type>`, results will be written to the object returned by :func:`__array__`. Similar conversion is done on input arrays. |