diff options
-rw-r--r-- | numpy/core/defchararray.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/numpy/core/defchararray.py b/numpy/core/defchararray.py index f58abfbd5..0a8c7bbec 100644 --- a/numpy/core/defchararray.py +++ b/numpy/core/defchararray.py @@ -310,11 +310,11 @@ def add(x1, x2): return _vec_string(arr1, (dtype, out_size), '__add__', (arr2,)) -def _multiply_dispathcer(a, i): +def _multiply_dispatcher(a, i): return (a,) -@array_function_dispatch(_multiply_dispathcer) +@array_function_dispatch(_multiply_dispatcher) def multiply(a, i): """ Return (a * i), that is string multiple concatenation, |