8000 fix: resolve typo in `broadcast_to` to require an exception · kgryte/array-api@407a8ae · GitHub
[go: up one dir, main page]

Skip to content

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 407a8ae

Browse files
authored
fix: resolve typo in broadcast_to to require an exception
PR-URL: data-apis#897 Ref: https://github.com/data-apis/array-api/pull/888/files#r1944366064
1 parent f73baff commit 407a8ae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/array_api_stubs/_draft/manipulation_functions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ def broadcast_to(x: array, /, shape: Tuple[int, ...]) -> array:
4242
Parameters
4343
----------
4444
x: array
45-
array to broadcast. Must be capable of being broadcast to the specified ``shape`` (see :ref:`broadcasting`). If the array is incompatible with the specified shape, the function should raise an exception.
45+
array to broadcast. Must be capable of being broadcast to the specified ``shape`` (see :ref:`broadcasting`). If the array is incompatible with the specified shape, the function must raise an exception.
4646
shape: Tuple[int, ...]
4747
array shape.
4848

0 commit comments

Comments
 (0)
0