comparison mercurial/utils/stringutil.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 dcdecec401ca
children 46b3ecfb16e2
comparison
equal deleted inserted replaced
48874:af0b21d5a930 48875:6000f5b25c9b
5 # Copyright 2006 Vadim Gelfer <vadim.gelfer@gmail.com> 5 # Copyright 2006 Vadim Gelfer <vadim.gelfer@gmail.com>
6 # 6 #
7 # This software may be used and distributed according to the terms of the 7 # This software may be used and distributed according to the terms of the
8 # GNU General Public License version 2 or any later version. 8 # GNU General Public License version 2 or any later version.
9 9
10 from __future__ import absolute_import
11 10
12 import ast 11 import ast
13 import codecs 12 import codecs
14 import re as remod 13 import re as remod
15 import textwrap 14 import textwrap