summaryrefslogtreecommitdiff
path: root/numpy/oldnumeric/fix_default_axis.py
diff options
context:
space:
mode:
authornjsmith <njs@pobox.com>2013-04-06 14:14:28 -0700
committernjsmith <njs@pobox.com>2013-04-06 14:14:28 -0700
commit3c70e20a5f1aed4098ba66d21e6a1f60edc6fddd (patch)
tree889782afaf67fd5acb5f222969251871c0c46e5a /numpy/oldnumeric/fix_default_axis.py
parent7441fa50523f5b4a16c854bf004d675e5bd86ab8 (diff)
parentbb726ca19f434f5055c0efceefe48d89469fcbbe (diff)
downloadnumpy-3c70e20a5f1aed4098ba66d21e6a1f60edc6fddd.tar.gz
Merge pull request #3203 from charris/2to3-apply-print-fixer
2to3: Apply `print` fixer.
Diffstat (limited to 'numpy/oldnumeric/fix_default_axis.py')
-rw-r--r--numpy/oldnumeric/fix_default_axis.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/numpy/oldnumeric/fix_default_axis.py b/numpy/oldnumeric/fix_default_axis.py
index cefa67239..57ab3ce78 100644
--- a/numpy/oldnumeric/fix_default_axis.py
+++ b/numpy/oldnumeric/fix_default_axis.py
@@ -34,7 +34,7 @@ std
mean
"""
-from __future__ import division, absolute_import
+from __future__ import division, absolute_import, print_function
__all__ = ['convertfile', 'convertall', 'converttree']
@@ -261,7 +261,7 @@ def convertfile(filename, import_change=False):
filestr = getfile(filename)
newstr, total = add_axis(filestr, import_change)
if total > 0:
- print "Changing ", filename
+ print("Changing ", filename)
copyfile(filename, filestr)
makenewfile(filename, newstr)
sys.stdout.flush()