diff options
author | Charles Harris <charlesr.harris@gmail.com> | 2013-04-06 13:25:26 -0600 |
---|---|---|
committer | Charles Harris <charlesr.harris@gmail.com> | 2013-04-06 13:25:26 -0600 |
commit | bb726ca19f434f5055c0efceefe48d89469fcbbe (patch) | |
tree | 889782afaf67fd5acb5f222969251871c0c46e5a /tools/py3tool.py | |
parent | 7441fa50523f5b4a16c854bf004d675e5bd86ab8 (diff) | |
download | numpy-bb726ca19f434f5055c0efceefe48d89469fcbbe.tar.gz |
2to3: Apply `print` fixer.
Add `print_function` to all `from __future__ import ...` statements
and use the python3 print function syntax everywhere.
Closes #3078.
Diffstat (limited to 'tools/py3tool.py')
-rwxr-xr-x | tools/py3tool.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/py3tool.py b/tools/py3tool.py index 07c01c42b..45a8def4c 100755 --- a/tools/py3tool.py +++ b/tools/py3tool.py @@ -18,7 +18,7 @@ When running py3tool again, only changed files are re-processed, which makes the test-bugfix cycle faster. """ -from __future__ import division, absolute_import +from __future__ import division, absolute_import, print_function from optparse import OptionParser import shutil @@ -80,6 +80,7 @@ FIXES_TO_SKIP = [ 'import', 'imports', 'imports2', + 'print', ] skip_fixes= [] |