Skip to content

Commit c103a0f

Browse files
committed
Rename argument to value aligning with the latest NumPy changes
1 parent 3ab8fde commit c103a0f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

dpnp/dpnp_array.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -242,9 +242,9 @@ def __bool__(self):
242242
def __complex__(self):
243243
return self._array_obj.__complex__()
244244

245-
def __contains__(self, key, /):
246-
"""Return :math:`key in self`."""
247-
return (self == key).any()
245+
def __contains__(self, value, /):
246+
"""Return :math:`value in self`."""
247+
return (self == value).any()
248248

249249
def __copy__(self):
250250
"""

0 commit comments

Comments
 (0)