Skip to content

Commit 89b9c8c

Browse files
committed
DOC: atleast_nd: fix docstring syntax
1 parent 97d71b4 commit 89b9c8c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/array_api_extra/_funcs.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,15 @@ def atleast_nd(x: Array, *, ndim: int, xp: ModuleType) -> Array:
1414
1515
Parameters
1616
----------
17-
x: array
18-
ndim: int
17+
x : array
18+
ndim : int
1919
The minimum number of dimensions for the result.
20-
xp: array_namespace
20+
xp : array_namespace
2121
The standard-compatible namespace for `x`.
2222
2323
Returns
2424
-------
25-
res: array
25+
res : array
2626
An array with ``res.ndim`` >= `ndim`.
2727
If ``x.ndim`` >= `ndim`, `x` is returned.
2828
If ``x.ndim`` < `ndim`, `x` is expanded by prepending new axes

0 commit comments

Comments
 (0)