Skip to content

Commit 13c5db7

Browse files
Fixed rst in docstrings of extract/place
1 parent 0a7ea0c commit 13c5db7

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

dpctl/tensor/_indexing_functions.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -212,11 +212,11 @@ def extract(condition, arr):
212212
213213
Returns the elements of an array that satisfies the condition.
214214
215-
If `condition` is boolean :func:``dpctl.tensor.extract`` is
215+
If `condition` is boolean ``dpctl.tensor.extract`` is
216216
equivalent to ``arr[condition]``.
217217
218-
Note that :func:``dpctl.tensor.place`` does the opposite of
219-
:func:``dpctl.tensor.extract``.
218+
Note that ``dpctl.tensor.place`` does the opposite of
219+
``dpctl.tensor.extract``.
220220
221221
Args:
222222
conditions: usm_ndarray
@@ -255,7 +255,7 @@ def place(arr, mask, vals):
255255
256256
Change elements of an array based on conditional and input values.
257257
258-
If `mask` is boolean :func:``dpctl.tensor.place`` is
258+
If `mask` is boolean ``dpctl.tensor.place`` is
259259
equivalent to ``arr[condition] = vals``.
260260
261261
Args:

0 commit comments

Comments
 (0)