Skip to content

Commit 7d119e9

Browse files
committed
docs: fix allowed data types for the matmul operator (including backport)
1 parent 071780c commit 7d119e9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

spec/2023.12/API_specification/array_object.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ A conforming implementation of the array API standard must provide and support a
8787
- `operator.matmul(x1, x2) <https://docs.python.org/3/library/operator.html#operator.matmul>`_
8888
- `operator.__matmul__(x1, x2) <https://docs.python.org/3/library/operator.html#operator.__matmul__>`_
8989

90-
The matmul ``@`` operator should be defined for arrays having real-valued data types.
90+
The matmul ``@`` operator should be defined for arrays having numeric data types.
9191

9292
Bitwise Operators
9393
~~~~~~~~~~~~~~~~~

spec/draft/API_specification/array_object.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ A conforming implementation of the array API standard must provide and support a
8787
- `operator.matmul(x1, x2) <https://docs.python.org/3/library/operator.html#operator.matmul>`_
8888
- `operator.__matmul__(x1, x2) <https://docs.python.org/3/library/operator.html#operator.__matmul__>`_
8989

90-
The matmul ``@`` operator should be defined for arrays having real-valued data types.
90+
The matmul ``@`` operator should be defined for arrays having numeric data types.
9191

9292
Bitwise Operators
9393
~~~~~~~~~~~~~~~~~

0 commit comments

Comments
 (0)