diff options
author | Eric Wieser <wieser.eric@gmail.com> | 2020-03-22 14:21:18 +0000 |
---|---|---|
committer | Eric Wieser <wieser.eric@gmail.com> | 2020-03-22 14:36:42 +0000 |
commit | cf377c766d6ac8d72116bc71ad5c9d2f29996e03 (patch) | |
tree | 5bbb0d4b1ead4b02854e364def2afb485b685f1e /numpy/lib/function_base.py | |
parent | 03aa7f92b95d3c9ce7230d98664984a663bac0af (diff) | |
download | numpy-cf377c766d6ac8d72116bc71ad5c9d2f29996e03.tar.gz |
MAINT: Remove some weird syntax for kwargs
Diffstat (limited to 'numpy/lib/function_base.py')
-rw-r--r-- | numpy/lib/function_base.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/lib/function_base.py b/numpy/lib/function_base.py index e68b9f2ef..b3ad433cd 100644 --- a/numpy/lib/function_base.py +++ b/numpy/lib/function_base.py @@ -4533,7 +4533,7 @@ def insert(arr, obj, values, axis=None): if isinstance(obj, slice): # turn it into a range object - indices = arange(*obj.indices(N), **{'dtype': intp}) + indices = arange(*obj.indices(N), dtype=intp) else: # need to copy obj, because indices will be changed in-place indices = np.array(obj) |