diff options
author | Jamie Townsend <jamiehntownsend@gmail.com> | 2017-11-09 12:56:10 +0000 |
---|---|---|
committer | Jamie Townsend <jamiehntownsend@gmail.com> | 2017-11-09 12:56:10 +0000 |
commit | a691f2deb055f4ebfd60f742d816980c6893871f (patch) | |
tree | b1452cb56674164e3515d88ef0be7a7c50632d50 /numpy/core/shape_base.py | |
parent | a5cbc93168e08f7a083a7df174a44314c1af9bd4 (diff) | |
download | numpy-a691f2deb055f4ebfd60f742d816980c6893871f.tar.gz |
Rm unnecessary enumerate
Diffstat (limited to 'numpy/core/shape_base.py')
-rw-r--r-- | numpy/core/shape_base.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/core/shape_base.py b/numpy/core/shape_base.py index ca0faca97..8a047fdda 100644 --- a/numpy/core/shape_base.py +++ b/numpy/core/shape_base.py @@ -406,7 +406,7 @@ def _block_check_depths_match(arrays, parent_index=[]): for i, arr in enumerate(arrays)) first_index, max_arr_ndim = next(idxs_ndims) - for i, (index, ndim) in enumerate(idxs_ndims, 1): + for index, ndim in idxs_ndims: if ndim > max_arr_ndim: max_arr_ndim = ndim if len(index) != len(first_index): |