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 | 4 |
1 files changed, 2 insertions, 2 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 3a689a4dc..f6a77f754 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 @@ -1,7 +1,7 @@ .. _NEP35: =========================================================== -NEP 35 — Array Creation Dispatching With __array_function__ +NEP 35 — Array creation dispatching with __array_function__ =========================================================== :Author: Peter Andreas Entschev <pentschev@nvidia.com> @@ -209,7 +209,7 @@ libraries, preventing those libraries from using such important functionality in that context. The purpose of this NEP is to address that shortcoming in a simple and -straighforward way: introduce a new ``like=`` keyword argument, similar to how +straightforward way: introduce a new ``like=`` keyword argument, similar to how the ``empty_like`` family of functions work. When array creation functions receive such an argument, they will trigger the ``__array_function__`` protocol, and call the downstream library's own array creation function implementation. |