diff options
author | Nicolas Hug <contact@nicolas-hug.com> | 2021-01-26 18:14:55 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-26 10:14:55 -0800 |
commit | 8ef114b9c98ca5a04b67fb072ff4a0f5a06de894 (patch) | |
tree | 6a7436a138f54ac2b7ea627a3f4d0935970d00e2 /doc | |
parent | 11141c45c21c85eea0ff1bd4054e314163b448d6 (diff) | |
download | numpy-8ef114b9c98ca5a04b67fb072ff4a0f5a06de894.tar.gz |
Fix example in array subclassing doc (#18235)
Diffstat (limited to 'doc')
-rw-r--r-- | doc/source/user/basics.dispatch.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/source/user/basics.dispatch.rst b/doc/source/user/basics.dispatch.rst index c0e1cf9ba..147f86c98 100644 --- a/doc/source/user/basics.dispatch.rst +++ b/doc/source/user/basics.dispatch.rst @@ -56,7 +56,7 @@ array([[2., 0., 0., 0., 0.], Notice that the return type is a standard ``numpy.ndarray``. ->>> type(arr) +>>> type(np.multiply(arr, 2)) numpy.ndarray How can we pass our custom array type through this function? Numpy allows a |