Skip to content

Commit 1c552f6

Browse files
Apply remarks
1 parent 3b9f076 commit 1c552f6

3 files changed

Lines changed: 5 additions & 3 deletions

File tree

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ Also, that release drops support for Python 3.9, making Python 3.10 the minimum
5050
* `dpnp.asfarray` is deprecated. Use `dpnp.asarray` with an appropriate dtype instead [#2650](https://github.com/IntelPython/dpnp/pull/2650)
5151
* Passing the output array ``out`` positionally to `dpnp.minimum` and `dpnp.maximum` is deprecated. Pass the output with the keyword form, e.g. ``dpnp.minimum(a, b, out=c)`` [#2659](https://github.com/IntelPython/dpnp/pull/2659)
5252
* `dpnp.ndarray.T` property is deprecated for not two-dimensional array to be compatible with the Python array API standard. To achieve a similar behavior when ``a.ndim != 2``, either ``a.transpose()``, or ``a.mT`` (swaps the last two axes only), or ``dpnp.permute_dims(a, range(a.ndim)[::-1])`` can be used [#2681](https://github.com/IntelPython/dpnp/pull/2681)
53-
* `dpnp.fix` is deprecated. Use `dpnp.trunc` instead [#2730](https://github.com/IntelPython/dpnp/pull/2730)
53+
* `dpnp.fix` is deprecated. Use `dpnp.trunc` instead, which provides identical functionality [#2730](https://github.com/IntelPython/dpnp/pull/2730)
5454

5555
### Removed
5656

dpnp/dpnp_algo/dpnp_elementwise_common.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,9 +237,11 @@ class DPNPDeprecatedUnaryFunc(DPNPUnaryFunc):
237237
238238
Parameters
239239
----------
240-
deprecated_msg : {str, None}
240+
deprecated_msg : {str, None}, optional
241241
Warning message to emit. If None, no warning is issued.
242242
243+
Default: ``None``.
244+
243245
"""
244246

245247
def __init__(self, *args, deprecated_msg=None, **kwargs):

dpnp/dpnp_iface_mathematical.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1881,7 +1881,7 @@ def ediff1d(ary, to_end=None, to_begin=None):
18811881
_FIX_DOCSTRING,
18821882
mkl_fn_to_call="_mkl_trunc_to_call",
18831883
mkl_impl_fn="_trunc",
1884-
deprecated_msg=("dpnp.fix is deprecated in favor of dpnp.trunc"),
1884+
deprecated_msg="dpnp.fix is deprecated in favor of dpnp.trunc",
18851885
)
18861886

18871887

0 commit comments

Comments
 (0)