Mercurial > public > mercurial-scm > hg
comparison mercurial/state.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 | f38bf44e077f |
children | 642e31cb55f0 |
comparison
equal
deleted
inserted
replaced
48874:af0b21d5a930 | 48875:6000f5b25c9b |
---|---|
15 | 15 |
16 We store the data on disk in cbor, for which we use the CBOR format to encode | 16 We store the data on disk in cbor, for which we use the CBOR format to encode |
17 the data. | 17 the data. |
18 """ | 18 """ |
19 | 19 |
20 from __future__ import absolute_import | |
21 | 20 |
22 import contextlib | 21 import contextlib |
23 | 22 |
24 from .i18n import _ | 23 from .i18n import _ |
25 | 24 |