Mercurial > hg
comparison tests/seq.py @ 48875:6000f5b25c9b
py2: remove simple from __future__ statements
These were needed for Python 2 support. Now that our linter no longer
mandates these, we can start deleting them.
Differential Revision: https://phab.mercurial-scm.org/D12254
author | Gregory Szorc <gregory.szorc@gmail.com> |
---|---|
date | Thu, 03 Mar 2022 17:34:00 +0100 |
parents | c102b704edb5 |
children | 56f98406831b |
comparison
equal
deleted
inserted
replaced
48874:af0b21d5a930 | 48875:6000f5b25c9b |
---|---|
5 # Usage: | 5 # Usage: |
6 # seq STOP [1, STOP] stepping by 1 | 6 # seq STOP [1, STOP] stepping by 1 |
7 # seq START STOP [START, STOP] stepping by 1 | 7 # seq START STOP [START, STOP] stepping by 1 |
8 # seq START STEP STOP [START, STOP] stepping by STEP | 8 # seq START STEP STOP [START, STOP] stepping by STEP |
9 | 9 |
10 from __future__ import absolute_import, print_function | |
11 import os | 10 import os |
12 import sys | 11 import sys |
13 | 12 |
14 try: | 13 try: |
15 import msvcrt | 14 import msvcrt |