summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCharles Harris <charlesr.harris@gmail.com>2022-06-09 06:14:50 -0600
committerGitHub <noreply@github.com>2022-06-09 06:14:50 -0600
commit198904597cde9fb2e63afb329f77eb543b2b3ac1 (patch)
tree608c60b7c01d4c13e17c3cb4505a08589fc26a0f
parent5fedeb7e4f5140ab5b422fe7502a0c3b23feaf9b (diff)
parent827dac7439d3d6f04368b501d7cf715704e63e55 (diff)
downloadnumpy-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.rst5
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.