diff options
author | Stefan Zimmermann <zimmermann.code@gmail.com> | 2014-03-31 15:13:02 +0000 |
---|---|---|
committer | Stefan Zimmermann <zimmermann.code@gmail.com> | 2014-03-31 15:13:02 +0000 |
commit | 15ad84e7cd33f33d287c63d6e00a221d859cce3b (patch) | |
tree | 4464eb544fe0cc698ea4d1c5789e19770b83cd6f /bench/timeit.py | |
parent | 9d3a9c2cc0187294500ea8018a7ffcc1c7b67037 (diff) | |
download | scons-15ad84e7cd33f33d287c63d6e00a221d859cce3b.tar.gz |
Made former 2to3 changes Python 2.7 compatible (or removed unneeded changes).
Diffstat (limited to 'bench/timeit.py')
-rw-r--r-- | bench/timeit.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bench/timeit.py b/bench/timeit.py index 28400109..7db0dd4f 100644 --- a/bench/timeit.py +++ b/bench/timeit.py @@ -46,7 +46,7 @@ be aware of it. The baseline overhead can be measured by invoking the program without arguments. The baseline overhead differs between Python versions! """ - +from __future__ import division, print_function try: import gc @@ -245,7 +245,7 @@ def main(args=None): precision = precision + 1 verbose = precision + 1 if o in ("-h", "--help"): - print(__doc__, end=' ') + print(__doc__) return 0 setup = "\n".join(setup) or "pass" # Include the current directory, so that local imports work (sys.path |