diff options
Diffstat (limited to 'numpy/oldnumeric')
-rw-r--r-- | numpy/oldnumeric/ma.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/numpy/oldnumeric/ma.py b/numpy/oldnumeric/ma.py index b449d619c..222e72270 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 = {} |