Mercurial > public > mercurial-scm > hg-stable
comparison mercurial/encoding.py @ 48966: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 | f1ed5c304f45 |
children | fa2b1a46d92e |
comparison
equal
deleted
inserted
replaced
48965:af0b21d5a930 | 48966:6000f5b25c9b |
---|---|
3 # Copyright 2005-2009 Olivia Mackall <olivia@selenic.com> and others | 3 # Copyright 2005-2009 Olivia Mackall <olivia@selenic.com> and others |
4 # | 4 # |
5 # This software may be used and distributed according to the terms of the | 5 # This software may be used and distributed according to the terms of the |
6 # GNU General Public License version 2 or any later version. | 6 # GNU General Public License version 2 or any later version. |
7 | 7 |
8 from __future__ import absolute_import, print_function | |
9 | 8 |
10 import locale | 9 import locale |
11 import os | 10 import os |
12 import re | 11 import re |
13 import unicodedata | 12 import unicodedata |