Skip to content

Commit 3b5ad5d

Browse files
Update src/array_api_extra/_lib/_funcs.py
Co-authored-by: Jake Bowhay <[email protected]>
1 parent baf3241 commit 3b5ad5d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/array_api_extra/_lib/_funcs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ def create_diagonal(
183183
Returns
184184
-------
185185
array
186-
An array having shape (*broadcast_dims, k+abs(offset), k+abs(offset)) with `x`
186+
An array having shape ``(*broadcast_dims, k+abs(offset), k+abs(offset))`` with `x`
187187
on the diagonal (offset by `offset`).
188188
189189
Examples

0 commit comments

Comments
 (0)