summaryrefslogtreecommitdiff
path: root/doc/neps
diff options
context:
space:
mode:
authorPeter Andreas Entschev <peter@entschev.com>2020-08-19 17:47:56 +0200
committerGitHub <noreply@github.com>2020-08-19 17:47:56 +0200
commit68fd054092a0ce41ad013230a2f3aa6aa688175d (patch)
treec437e6cf2b5c74ee3be923c2b13a44483633ae0a /doc/neps
parent9b660e445bb19331b8d4308223b9da418166ef80 (diff)
downloadnumpy-68fd054092a0ce41ad013230a2f3aa6aa688175d.tar.gz
Update doc/neps/nep-0035-array-creation-dispatch-with-array-function.rst
Co-authored-by: Juan Nunez-Iglesias <juan.nunez-iglesias@monash.edu>
Diffstat (limited to 'doc/neps')
-rw-r--r--doc/neps/nep-0035-array-creation-dispatch-with-array-function.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/neps/nep-0035-array-creation-dispatch-with-array-function.rst b/doc/neps/nep-0035-array-creation-dispatch-with-array-function.rst
index 8554cbccd..8f47f8717 100644
--- a/doc/neps/nep-0035-array-creation-dispatch-with-array-function.rst
+++ b/doc/neps/nep-0035-array-creation-dispatch-with-array-function.rst
@@ -42,7 +42,7 @@ to that.
x = dask.array.arange(5) # Creates dask.array
np.diff(x) # Returns dask.array
-Note above how we called Dask's implementation of ``sum`` via the NumPy
+Note above how we called Dask's implementation of ``diff`` via the NumPy
namespace by calling ``np.diff``, and the same would apply if we had a CuPy
array or any other array from a library that adopts ``__array_function__``.
This allows writing code that is agnostic to the implementation library, thus