diff options
Diffstat (limited to 'numpy/lib/arraysetops.py')
-rw-r--r-- | numpy/lib/arraysetops.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/numpy/lib/arraysetops.py b/numpy/lib/arraysetops.py index 44bdd0546..53a2b6e02 100644 --- a/numpy/lib/arraysetops.py +++ b/numpy/lib/arraysetops.py @@ -667,7 +667,8 @@ def in1d(ar1, ar2, assume_unique=False, invert=False, method='auto'): return outgoing_array elif method == 'dictionary': raise ValueError( - "'dictionary' method is only supported for non-integer arrays. " + "'dictionary' method is only " + "supported for boolean or integer arrays. " "Please select 'sort' or 'auto' for the method." ) |