diff options
Diffstat (limited to 'doc/neps/nep-0035-array-creation-dispatch-with-array-function.rst')
-rw-r--r-- | doc/neps/nep-0035-array-creation-dispatch-with-array-function.rst | 9 |
1 files changed, 4 insertions, 5 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 d0334967c..7b602c15a 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 @@ -15,11 +15,10 @@ Abstract -------- We propose the introduction of a new keyword argument ``like=`` to all array -creation functions, this argument permits the creation of an array based on -a non-NumPy reference array passed via that argument, resulting in an array -defined by the downstream library implementing that type, which also implements -the ``__array_function__`` protocol. With this we address one of that -protocol's shortcomings, as described by NEP 18 [1]_. +creation functions to address one of the shortcomings of ``__array_function__``, +as described by NEP 18 [1]_. The ``like=`` keyword argument will create an +instance of the argument's type, enabling direct creation of non-NumPy arrays. +The target array type must implement the ``__array_function__`` protocol. Motivation and Scope -------------------- |