diff --git a/dpnp/dpnp_array.py b/dpnp/dpnp_array.py index 365d01a179a..f3d6597bdc4 100644 --- a/dpnp/dpnp_array.py +++ b/dpnp/dpnp_array.py @@ -173,7 +173,6 @@ def __array_namespace__(self, /, *, api_version=None): return self._array_obj.__array_namespace__(api_version=api_version) - # '__array_prepare__', # '__array_priority__', # '__array_struct__', @@ -207,8 +206,6 @@ def __copy__(self): return self.copy(order="K") # '__deepcopy__', - # '__delattr__', - # '__delitem__', # '__dir__', # '__divmod__', @@ -292,8 +289,6 @@ def __dlpack_device__(self, /): return self._array_obj.__dlpack_device__() - # '__doc__', - def __eq__(self, other, /): r"""Return :math:`\text{self == value}`.""" return dpnp.equal(self, other) @@ -312,8 +307,6 @@ def __ge__(self, other, /): r"""Return :math:`\text{self >= value}`.""" return dpnp.greater_equal(self, other) - # '__getattribute__', - def __getitem__(self, key, /): r"""Return :math:`\text{self[key]}`.""" key = _get_unwrapped_index_key(key) @@ -387,7 +380,6 @@ def __index__(self, /): """Convert a zero-dimensional array to a Python int object.""" return self._array_obj.__index__() - # '__init__', # '__init_subclass__', def __int__(self, /): @@ -552,8 +544,6 @@ def __rxor__(self, other, /): r"""Return :math:`\text{value ^ self}`.""" return dpnp.bitwise_xor(other, self) - # '__setattr__', - def __setitem__(self, key, value, /): r"""Set :math:`\text{self[key]}` to a value.""" key = _get_unwrapped_index_key(key) @@ -576,8 +566,6 @@ def __sub__(self, other, /): r"""Return :math:`\text{self - value}`.""" return dpnp.subtract(self, other) - # '__subclasshook__', - @property def __sycl_usm_array_interface__(self): """