diff options
author | Charles Harris <charlesr.harris@gmail.com> | 2013-04-12 20:10:58 -0600 |
---|---|---|
committer | Charles Harris <charlesr.harris@gmail.com> | 2013-04-12 21:22:36 -0600 |
commit | 5de56efaad908f2b731a7eda2b9ca2a9196f820a (patch) | |
tree | 4e889cf226ba5b1ff3c708bfcd349352bfe76b96 /numpy/lib/user_array.py | |
parent | 06066cb01962819c9590d87ea57c77db2a306266 (diff) | |
download | numpy-5de56efaad908f2b731a7eda2b9ca2a9196f820a.tar.gz |
2to3: Apply itertools fixer.
In Python 3 zip, map, and filter are all iterators, consequently the
itertools variants izip, imap, and ifilter have been removed and the
itertools fixer replaces them with the unprefixed names.
Because the places where the iterator variants are used in current look
like places where the iterator version might be useful, the approach
taken here is to define the prefixed versions to the unprefixed versions
for Python 3, but otherwise import them from itertools.
Closes #3233.
Diffstat (limited to 'numpy/lib/user_array.py')
0 files changed, 0 insertions, 0 deletions