diff options
author | Isaac Virshup <ivirshup@gmail.com> | 2019-06-22 17:35:07 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-06-22 17:35:07 +1000 |
commit | 3997c4340937627a7c45d80422b7704cbba41843 (patch) | |
tree | 88e234720735afd84b8b1330f81c4d8639c61f79 | |
parent | d037f06c85bf15140084e537d12d6cf9c5cf4fa2 (diff) | |
download | numpy-3997c4340937627a7c45d80422b7704cbba41843.tar.gz |
DOC: fix default __array_priority__ in ufunc docs
Changed default value of `__array_priority__` to correct value.
-rw-r--r-- | doc/source/reference/ufuncs.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/source/reference/ufuncs.rst b/doc/source/reference/ufuncs.rst index c71c8c9a7..d00e88b34 100644 --- a/doc/source/reference/ufuncs.rst +++ b/doc/source/reference/ufuncs.rst @@ -118,7 +118,7 @@ all output arrays will be passed to the :obj:`~class.__array_prepare__` and the highest :obj:`~class.__array_priority__` of any other input to the universal function. The default :obj:`~class.__array_priority__` of the ndarray is 0.0, and the default :obj:`~class.__array_priority__` of a subtype -is 1.0. Matrices have :obj:`~class.__array_priority__` equal to 10.0. +is 0.0. Matrices have :obj:`~class.__array_priority__` equal to 10.0. All ufuncs can also take output arguments. If necessary, output will be cast to the data-type(s) of the provided output array(s). If a class |