Skip to content

Commit 032f8c4

Browse files
committed
Applied review comments from #1760
1 parent 0e2077f commit 032f8c4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

dpnp/dpnp_iface_searching.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -299,16 +299,16 @@ def where(condition, x=None, y=None, /):
299299
Parameters
300300
----------
301301
condition : {dpnp.ndarray, usm_ndarray}
302-
Where True, yield `x`, otherwise yield `y`.
302+
When ``True``, yield `x`, otherwise yield `y`.
303303
x, y : {dpnp.ndarray, usm_ndarray, scalar}, optional
304304
Values from which to choose. `x`, `y` and `condition` need to be
305305
broadcastable to some shape.
306306
307307
Returns
308308
-------
309309
y : dpnp.ndarray
310-
An array with elements from `x` where `condition` is True, and elements
311-
from `y` elsewhere.
310+
An array with elements from `x` when `condition` is ``True``, and
311+
elements from `y` elsewhere.
312312
313313
See Also
314314
--------

0 commit comments

Comments
 (0)