Skip to content

Commit 1e46bcc

Browse files
committed
Update choose docstring
1 parent 8b2546e commit 1e46bcc

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

dpnp/dpnp_iface_indexing.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -207,9 +207,8 @@ def choose(x, choices, out=None, mode="wrap"):
207207
in `choices` to choose from. Behavior of out-of-bounds integers (i.e.,
208208
integers outside of `[0, n-1]` where `n` is the number of choices) is
209209
determined by the `mode` keyword.
210-
choices : {dpnp.ndarray, usm_ndarray, tuple of dpnp.ndarrays,
211-
tuple of usm_ndarrays, list of dpnp.ndarrays,
212-
list of usm_ndarrays}
210+
choices : {dpnp.ndarray, usm_ndarray, sequence of dpnp.ndarrays and
211+
usm_ndarrays}
213212
Choice arrays. `x` and choice arrays must be broadcast-compatible.
214213
If `choices` is an array, the array is unstacked into a sequence of
215214
arrays.
@@ -234,7 +233,7 @@ def choose(x, choices, out=None, mode="wrap"):
234233
235234
See also
236235
--------
237-
:obj:`dpnp.take_along_axis` : Preferable if choices is an array.
236+
:obj:`dpnp.ndarray.choose` : Equivalent method.
238237
"""
239238
mode = _get_indexing_mode(mode)
240239

0 commit comments

Comments
 (0)