Skip to content

Commit 1fc9a25

Browse files
committed
improve formatting of isin docstring
1 parent bc4ced5 commit 1fc9a25

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

dpctl/tensor/_set_functions.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -646,7 +646,8 @@ def isin(
646646
*,
647647
invert: Optional[bool] = False,
648648
) -> dpt.usm_ndarray:
649-
"""
649+
"""isin(x, test_elements, /, *, invert=False)
650+
650651
Tests `x in test_elements` for each element of `x`. Returns a boolean array
651652
with the same shape as `x` that is `True` where the element is in
652653
`test_elements`, `False` otherwise.

0 commit comments

Comments
 (0)