diff options
Diffstat (limited to 'numpy/f2py/auxfuncs.py')
-rw-r--r-- | numpy/f2py/auxfuncs.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/numpy/f2py/auxfuncs.py b/numpy/f2py/auxfuncs.py index fe037f065..3121f710e 100644 --- a/numpy/f2py/auxfuncs.py +++ b/numpy/f2py/auxfuncs.py @@ -32,6 +32,9 @@ options={} debugoptions=[] wrapfuncs = 1 +if sys.version_info[0] >= 3: + from functools import reduce + def outmess(t): if options.get('verbose',1): sys.stdout.write(t) |