summaryrefslogtreecommitdiff
path: root/numpy/lib/arrayterator.py
diff options
context:
space:
mode:
authornjsmith <njs@pobox.com>2013-04-07 03:39:34 -0700
committernjsmith <njs@pobox.com>2013-04-07 03:39:34 -0700
commitef76d4928ea1591d382fceaa416678907ea76098 (patch)
tree498f3e5c9a4efe4149cf2913ab18d2eb81c1d59d /numpy/lib/arrayterator.py
parent3c70e20a5f1aed4098ba66d21e6a1f60edc6fddd (diff)
parent77e09f14bdf9eeebbd20ca861cb51da3e570bb72 (diff)
downloadnumpy-ef76d4928ea1591d382fceaa416678907ea76098.tar.gz
Merge pull request #3202 from charris/2to3-reduce-fixups
MAINT: Cleanup some imports involving reduce.
Diffstat (limited to 'numpy/lib/arrayterator.py')
-rw-r--r--numpy/lib/arrayterator.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/numpy/lib/arrayterator.py b/numpy/lib/arrayterator.py
index 856c4633a..761d63749 100644
--- a/numpy/lib/arrayterator.py
+++ b/numpy/lib/arrayterator.py
@@ -14,8 +14,7 @@ from operator import mul
__all__ = ['Arrayterator']
import sys
-if sys.version_info[0] >= 3:
- from functools import reduce
+from functools import reduce
class Arrayterator(object):
"""