Mercurial > hg
comparison mercurial/templateutil.py @ 50929:18c8c18993f0
pycompat: drop usage of hasattr/getattr/setattr/delatt proxy
The function remains to ease extensions transition, but we no longer use them in
core.
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Fri, 01 Sep 2023 00:09:55 +0200 |
parents | d718eddf01d9 |
children | f4733654f144 |
comparison
equal
deleted
inserted
replaced
50928:d718eddf01d9 | 50929:18c8c18993f0 |
---|---|
8 | 8 |
9 import abc | 9 import abc |
10 import types | 10 import types |
11 | 11 |
12 from .i18n import _ | 12 from .i18n import _ |
13 from .pycompat import getattr | |
14 from . import ( | 13 from . import ( |
15 error, | 14 error, |
16 pycompat, | 15 pycompat, |
17 smartset, | 16 smartset, |
18 util, | 17 util, |