Mercurial > public > mercurial-scm > hg
comparison mercurial/pycompat.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 | 642e31cb55f0 |
comparison
equal
deleted
inserted
replaced
48874:af0b21d5a930 | 48875:6000f5b25c9b |
---|---|
6 """Mercurial portability shim for python 3. | 6 """Mercurial portability shim for python 3. |
7 | 7 |
8 This contains aliases to hide python version-specific details from the core. | 8 This contains aliases to hide python version-specific details from the core. |
9 """ | 9 """ |
10 | 10 |
11 from __future__ import absolute_import | |
12 | 11 |
13 import builtins | 12 import builtins |
14 import codecs | 13 import codecs |
15 import concurrent.futures as futures | 14 import concurrent.futures as futures |
16 import functools | 15 import functools |