summaryrefslogtreecommitdiff
path: root/numpy/oldnumeric/ma.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/oldnumeric/ma.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/oldnumeric/ma.py')
-rw-r--r--numpy/oldnumeric/ma.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/numpy/oldnumeric/ma.py b/numpy/oldnumeric/ma.py
index 31e2bb64d..cdec74cab 100644
--- a/numpy/oldnumeric/ma.py
+++ b/numpy/oldnumeric/ma.py
@@ -20,9 +20,8 @@ from numpy.core.fromnumeric import amax, amin
from numpy.core.numerictypes import bool_, typecodes
import numpy.core.numeric as numeric
import warnings
+from functools import reduce
-if sys.version_info[0] >= 3:
- from functools import reduce
# Ufunc domain lookup for __array_wrap__
ufunc_domain = {}