Mercurial > public > mercurial-scm > hg
comparison mercurial/wireprototypes.py @ 50926: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 | 93b0de7f13ca |
children | 278af66e6595 5ad5f0853a0a |
comparison
equal
deleted
inserted
replaced
50925:d718eddf01d9 | 50926:18c8c18993f0 |
---|---|
7 from .node import ( | 7 from .node import ( |
8 bin, | 8 bin, |
9 hex, | 9 hex, |
10 ) | 10 ) |
11 from .i18n import _ | 11 from .i18n import _ |
12 from .pycompat import getattr | |
13 from .thirdparty import attr | 12 from .thirdparty import attr |
14 from . import ( | 13 from . import ( |
15 error, | 14 error, |
16 util, | 15 util, |
17 ) | 16 ) |