Skip to content

Commit 0090fb0

Browse files
Update Warning section to maximum/minimum docs
1 parent 1cd390b commit 0090fb0

File tree

1 file changed

+10
-6
lines changed

1 file changed

+10
-6
lines changed

dpnp/dpnp_iface_mathematical.py

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3205,10 +3205,12 @@ def interp(x, xp, fp, left=None, right=None, period=None):
32053205
32063206
Warning
32073207
-------
3208-
Passing the output array ``out`` positionally is deprecated.
3209-
For example, ``dpnp.maximum(a, b, c)`` will emit a ``DeprecationWarning``.
3208+
Passing more than 2 positional arguments is deprecated.
3209+
If you meant to use the third argument as an output,
3210+
use the `out` keyword argument instead.
32103211
3211-
Always pass the output with the keyword form, e.g.
3212+
For example, ``dpnp.maximum(a, b, c)`` will emit a ``DeprecationWarning``.
3213+
Always pass the output array as the keyword argument instead, that is
32123214
``dpnp.maximum(a, b, out=c)``.
32133215
32143216
Returns
@@ -3325,10 +3327,12 @@ def maximum(*args, **kwargs):
33253327
33263328
Warning
33273329
-------
3328-
Passing the output array ``out`` positionally is deprecated.
3329-
For example, ``dpnp.minimum(a, b, c)`` will emit a ``DeprecationWarning``.
3330+
Passing more than 2 positional arguments is deprecated.
3331+
If you meant to use the third argument as an output,
3332+
use the `out` keyword argument instead.
33303333
3331-
Always pass the output with the keyword form, e.g.
3334+
For example, ``dpnp.minimum(a, b, c)`` will emit a ``DeprecationWarning``.
3335+
Always pass the output array as the keyword argument instead, that is
33323336
``dpnp.minimum(a, b, out=c)``.
33333337
33343338
Limitations

0 commit comments

Comments
 (0)