Skip to content

Commit 6520cc0

Browse files
committed
Change to diff docstring per PR review
1 parent 89c1339 commit 6520cc0

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

dpctl/tensor/_utility_functions.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -440,10 +440,8 @@ def diff(x, /, *, axis=-1, n=1, prepend=None, append=None):
440440
Returns:
441441
usm_ndarray:
442442
an array containing the `n`-th differences. The array will have the
443-
same shape as `x`, except along `axis`, which will have shape
444-
445-
- prepend.shape[axis] + x.shape[axis] + append.shape[axis] - n
446-
443+
same shape as `x`, except along `axis`, which will have shape:
444+
prepend.shape[axis] + x.shape[axis] + append.shape[axis] - n
447445
The data type of the returned array is determined by the Type
448446
Promotion Rules.
449447
"""

0 commit comments

Comments
 (0)