diff options
| author | Charles Harris <charlesr.harris@gmail.com> | 2022-06-09 06:14:50 -0600 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-06-09 06:14:50 -0600 |
| commit | 198904597cde9fb2e63afb329f77eb543b2b3ac1 (patch) | |
| tree | 608c60b7c01d4c13e17c3cb4505a08589fc26a0f | |
| parent | 5fedeb7e4f5140ab5b422fe7502a0c3b23feaf9b (diff) | |
| parent | 827dac7439d3d6f04368b501d7cf715704e63e55 (diff) | |
| download | numpy-198904597cde9fb2e63afb329f77eb543b2b3ac1.tar.gz | |
Merge pull request #21704 from asmeurer/array_api-doc-update
DOC: Mention positional-only arguments in the array API compatibility doc
| -rw-r--r-- | doc/source/reference/array_api.rst | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/source/reference/array_api.rst b/doc/source/reference/array_api.rst index a6a8619da..8c7c6508b 100644 --- a/doc/source/reference/array_api.rst +++ b/doc/source/reference/array_api.rst @@ -801,3 +801,8 @@ Other Differences - **Strictness** - The spec allows duck typing, so ``finfo`` returning dtype scalars is considered type compatible with ``float``. + * - Positional arguments in every function are positional-only. + - **Breaking** + - See the spec for the exact signature of each function. Note that NumPy + ufuncs already use positional-only arguments, but non-ufuncs like + ``asarray`` generally do not. |
