Mercurial > public > mercurial-scm > hg
comparison mercurial/util.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 | 5aafc3c5bdec |
children | 10839394f39b |
comparison
equal
deleted
inserted
replaced
48874:af0b21d5a930 | 48875:6000f5b25c9b |
---|---|
11 | 11 |
12 This contains helper routines that are independent of the SCM core and | 12 This contains helper routines that are independent of the SCM core and |
13 hide platform-specific details from the core. | 13 hide platform-specific details from the core. |
14 """ | 14 """ |
15 | 15 |
16 from __future__ import absolute_import, print_function | |
17 | 16 |
18 import abc | 17 import abc |
19 import collections | 18 import collections |
20 import contextlib | 19 import contextlib |
21 import errno | 20 import errno |