Skip to content

Commit cf377c7

Browse files
committed
MAINT: Remove some weird syntax for kwargs
1 parent 03aa7f9 commit cf377c7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

numpy/lib/function_base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4533,7 +4533,7 @@ def insert(arr, obj, values, axis=None):
45334533

45344534
if isinstance(obj, slice):
45354535
# turn it into a range object
4536-
indices = arange(*obj.indices(N), **{'dtype': intp})
4536+
indices = arange(*obj.indices(N), dtype=intp)
45374537
else:
45384538
# need to copy obj, because indices will be changed in-place
45394539
indices = np.array(obj)

0 commit comments

Comments
 (0)