summaryrefslogtreecommitdiffstats
path: root/Tools/scripts/byext.py
diff options
context:
space:
mode:
authorÉric Araujo <merwok@netwok.org>2012-07-02 21:45:10 (GMT)
committerÉric Araujo <merwok@netwok.org>2012-07-02 21:45:10 (GMT)
commit0d983b533959b098c8c57869987b4a3ded8f530e (patch)
tree83e498265fd27613e5b3b319b2fdfcf506cc1282 /Tools/scripts/byext.py
parent2aa8519f07bff9e7a04e62e2e4d11c87d18bb846 (diff)
downloadcpython-0d983b533959b098c8c57869987b4a3ded8f530e.zip
cpython-0d983b533959b098c8c57869987b4a3ded8f530e.tar.gz
cpython-0d983b533959b098c8c57869987b4a3ded8f530e.tar.bz2
Avoid SyntaxError in script using print function
Diffstat (limited to 'Tools/scripts/byext.py')
-rwxr-xr-xTools/scripts/byext.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/Tools/scripts/byext.py b/Tools/scripts/byext.py
index 138d8dd..ca18776 100755
--- a/Tools/scripts/byext.py
+++ b/Tools/scripts/byext.py
@@ -2,6 +2,8 @@
"""Show file statistics by extension."""
+from __future__ import print_function
+
import os
import sys