diff options
author | Peter Andreas Entschev <peter@entschev.com> | 2020-08-19 18:18:12 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-19 18:18:12 +0200 |
commit | 52d9c7455a78e72820cd4bae996646bf9f1c1095 (patch) | |
tree | 04c6bb85990020af09481ba47f4ef67ffa5fdbec /doc/neps | |
parent | 3cf7b6bb27399c72a6d1bc65a896fcc173a9985d (diff) | |
download | numpy-52d9c7455a78e72820cd4bae996646bf9f1c1095.tar.gz |
Update doc/neps/nep-0035-array-creation-dispatch-with-array-function.rst
Co-authored-by: Chunlin <fangchunlin@huawei.com>
Diffstat (limited to 'doc/neps')
-rw-r--r-- | doc/neps/nep-0035-array-creation-dispatch-with-array-function.rst | 2 |
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 b023d6fc8..e09875d15 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 @@ -108,7 +108,7 @@ CuPy arrays: Note in the ``my_pad`` function above how ``arr`` is used as a reference to dictate what array type padding should have, before concatenating the arrays to produce the result. On the other hand, if ``like=`` wasn't used, the NumPy case -case would still work, but CuPy wouldn't allow this kind of automatic +would still work, but CuPy wouldn't allow this kind of automatic conversion, ultimately raising a ``TypeError: Only cupy arrays can be concatenated`` exception. |