summaryrefslogtreecommitdiff
path: root/numpy/lib/recfunctions.py
diff options
context:
space:
mode:
authorCharles Harris <charlesr.harris@gmail.com>2013-04-10 17:06:28 -0700
committerCharles Harris <charlesr.harris@gmail.com>2013-04-10 17:06:28 -0700
commit25d55b8f0ea74f7c8a700a14ef8c256a51dd1376 (patch)
tree8d959355240553c3e7e0f331dc997622949ad38e /numpy/lib/recfunctions.py
parent230db778beaca454a95b0fb706330b6dcbd4a8f8 (diff)
parenta6164794a63215e23fa28432d9acec4727c68d02 (diff)
downloadnumpy-25d55b8f0ea74f7c8a700a14ef8c256a51dd1376.tar.gz
Merge pull request #3216 from charris/2to3-apply-map-fixer
2to3: Apply `map` fixer.
Diffstat (limited to 'numpy/lib/recfunctions.py')
-rw-r--r--numpy/lib/recfunctions.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/lib/recfunctions.py b/numpy/lib/recfunctions.py
index a9f480f5d..f909a4838 100644
--- a/numpy/lib/recfunctions.py
+++ b/numpy/lib/recfunctions.py
@@ -401,7 +401,7 @@ def merge_arrays(seqarrays,
seqarrays = (seqarrays,)
else:
# Make sure we have arrays in the input sequence
- seqarrays = map(np.asanyarray, seqarrays)
+ seqarrays = [np.asanyarray(_m) for _m in seqarrays]
# Find the sizes of the inputs and their maximum
sizes = tuple(a.size for a in seqarrays)
maxlength = max(sizes)