summaryrefslogtreecommitdiff
path: root/numpy/_array_api/_elementwise_functions.py
diff options
context:
space:
mode:
Diffstat (limited to 'numpy/_array_api/_elementwise_functions.py')
-rw-r--r--numpy/_array_api/_elementwise_functions.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/_array_api/_elementwise_functions.py b/numpy/_array_api/_elementwise_functions.py
index ade2aab0c..c07c32de7 100644
--- a/numpy/_array_api/_elementwise_functions.py
+++ b/numpy/_array_api/_elementwise_functions.py
@@ -113,7 +113,7 @@ def bitwise_and(x1: Array, x2: Array, /) -> Array:
See its docstring for more information.
"""
if x1.dtype not in _integer_or_boolean_dtypes or x2.dtype not in _integer_or_boolean_dtypes:
- raise TypeError('Only integer_or_boolean dtypes are allowed in bitwise_and')
+ raise TypeError('Only integer or boolean dtypes are allowed in bitwise_and')
x1, x2 = Array._normalize_two_args(x1, x2)
return Array._new(np.bitwise_and(x1._array, x2._array))