summaryrefslogtreecommitdiff
path: root/tools/commitstats.py
diff options
context:
space:
mode:
authorCharles Harris <charlesr.harris@gmail.com>2013-04-06 13:25:26 -0600
committerCharles Harris <charlesr.harris@gmail.com>2013-04-06 13:25:26 -0600
commitbb726ca19f434f5055c0efceefe48d89469fcbbe (patch)
tree889782afaf67fd5acb5f222969251871c0c46e5a /tools/commitstats.py
parent7441fa50523f5b4a16c854bf004d675e5bd86ab8 (diff)
downloadnumpy-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/commitstats.py')
-rw-r--r--tools/commitstats.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/tools/commitstats.py b/tools/commitstats.py
index 73e995912..a3de1a6c5 100644
--- a/tools/commitstats.py
+++ b/tools/commitstats.py
@@ -1,4 +1,4 @@
-from __future__ import division, absolute_import
+from __future__ import division, absolute_import, print_function
# Run svn log -l <some number>
@@ -35,10 +35,10 @@ count.sort()
-print "** SciPy and NumPy **"
-print "====================="
+print("** SciPy and NumPy **")
+print("=====================")
for val in count:
- print val
+ print(val)