diff options
author | Jamie Townsend <jamiehntownsend@gmail.com> | 2017-10-12 14:44:03 +0100 |
---|---|---|
committer | Jamie Townsend <jamiehntownsend@gmail.com> | 2017-11-03 11:13:25 +0000 |
commit | ad278f3bfea97636b18c8d699babdd02aa3cac5c (patch) | |
tree | 4dd3c07e31af7564845d78714315c6fe5a392cc2 /numpy/core/shape_base.py | |
parent | bd6729d0d1a6004360f44524a477524ccdc96f17 (diff) | |
download | numpy-ad278f3bfea97636b18c8d699babdd02aa3cac5c.tar.gz |
Fix python 3.4 sequence error
Diffstat (limited to 'numpy/core/shape_base.py')
-rw-r--r-- | numpy/core/shape_base.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/numpy/core/shape_base.py b/numpy/core/shape_base.py index 217631cd3..23e2ef57f 100644 --- a/numpy/core/shape_base.py +++ b/numpy/core/shape_base.py @@ -402,8 +402,8 @@ def _block_check_depths_match(arrays, parent_index=[]): ) ) elif type(arrays) is list and len(arrays) > 0: - indexes, arr_ndims = zip(*(_block_check_depths_match(arr, parent_index + [i]) - for i, arr in enumerate(arrays))) + indexes, arr_ndims = zip(*[_block_check_depths_match(arr, parent_index + [i]) + for i, arr in enumerate(arrays)]) first_index = indexes[0] for i, index in enumerate(indexes): |