Skip to content

Commit

Permalink
Remove mentioning of tostring method (IntelPython#2309)
Browse files Browse the repository at this point in the history
`numpy.ndarray.tostring` method was deprecated since `1.19` and is going
to be removed in `2.3.0` release.

This PR proposes to remove mentioning of `tostring` method in a list of
rendered documentation and as TODO method for implementation in
`dpnp.ndarray`.
  • Loading branch information
antonwolfy authored Feb 12, 2025
1 parent a7dd8ba commit 0bda96a
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion doc/reference/ndarray.rst
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,6 @@ Array conversion

dpnp.ndarray.item
dpnp.ndarray.tolist
dpnp.ndarray.tostring
dpnp.ndarray.tobytes
dpnp.ndarray.tofile
dpnp.ndarray.dump
Expand Down
1 change: 0 additions & 1 deletion dpnp/dpnp_array.py
Original file line number Diff line number Diff line change
Expand Up @@ -1860,7 +1860,6 @@ def to_device(self, device, /, *, stream=None):
# 'tobytes',
# 'tofile',
# 'tolist',
# 'tostring',

def trace(self, offset=0, axis1=0, axis2=1, dtype=None, out=None):
"""
Expand Down

0 comments on commit 0bda96a

Please sign in to comment.