Mercurial > hg
diff tests/seq.py @ 28722:2cd8c3b0bd11
py3: use print_function in seq.py
author | Robert Stanca <robert.stanca7@gmail.com> |
---|---|
date | Sat, 02 Apr 2016 17:29:38 +0300 |
parents | ff3be5a325bc |
children | 08b8b56bd2e8 |
line wrap: on
line diff
--- a/tests/seq.py Sat Apr 02 17:28:35 2016 +0300 +++ b/tests/seq.py Sat Apr 02 17:29:38 2016 +0300 @@ -7,7 +7,7 @@ # seq START STOP [START, STOP] stepping by 1 # seq START STEP STOP [START, STOP] stepping by STEP -from __future__ import absolute_import +from __future__ import absolute_import, print_function import sys start = 1 @@ -21,4 +21,4 @@ stop = int(sys.argv[-1]) + 1 for i in xrange(start, stop, step): - print i + print(i)