summaryrefslogtreecommitdiffstats
path: root/Tools/pybench/systimes.py
diff options
context:
space:
mode:
authorAntoine Pitrou <solipsis@pitrou.net>2009-02-07 17:13:31 (GMT)
committerAntoine Pitrou <solipsis@pitrou.net>2009-02-07 17:13:31 (GMT)
commit8a68122e9cb1ecd0ade79052ac66ad35c6333270 (patch)
tree1c5bfc6cfd2d2b6208fabcb72453cc34968116a0 /Tools/pybench/systimes.py
parent7bf8d4ed4da5555dcf72652926bfb29276f7a6bc (diff)
downloadcpython-8a68122e9cb1ecd0ade79052ac66ad35c6333270.zip
cpython-8a68122e9cb1ecd0ade79052ac66ad35c6333270.tar.gz
cpython-8a68122e9cb1ecd0ade79052ac66ad35c6333270.tar.bz2
Issue #4704: remove use of cmp() in pybench, bump its version number to 2.1,
and make it 2.6-compatible.
Diffstat (limited to 'Tools/pybench/systimes.py')
-rw-r--r--Tools/pybench/systimes.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/Tools/pybench/systimes.py b/Tools/pybench/systimes.py
index a0f3066..6bc7e80 100644
--- a/Tools/pybench/systimes.py
+++ b/Tools/pybench/systimes.py
@@ -31,6 +31,9 @@
the author. All Rights Reserved.
"""
+
+from __future__ import print_function
+
import time, sys
#