Mercurial > hg
comparison mercurial/templater.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 | 2b76255a4f74 |
children | f254fc73d956 |
comparison
equal
deleted
inserted
replaced
48874:af0b21d5a930 | 48875:6000f5b25c9b |
---|---|
63 mappedgenerator | 63 mappedgenerator |
64 a lazily-evaluated list of byte strings, which is e.g. a result of % | 64 a lazily-evaluated list of byte strings, which is e.g. a result of % |
65 operation. | 65 operation. |
66 """ | 66 """ |
67 | 67 |
68 from __future__ import absolute_import, print_function | |
69 | 68 |
70 import abc | 69 import abc |
71 import os | 70 import os |
72 | 71 |
73 from .i18n import _ | 72 from .i18n import _ |