Mercurial > hg
comparison mercurial/scmposix.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 | 7a4143428db7 |
children | 9d3721552b6c |
comparison
equal
deleted
inserted
replaced
50928:d718eddf01d9 | 50929:18c8c18993f0 |
---|---|
7 from typing import ( | 7 from typing import ( |
8 List, | 8 List, |
9 Tuple, | 9 Tuple, |
10 ) | 10 ) |
11 | 11 |
12 from .pycompat import getattr | |
13 from . import ( | 12 from . import ( |
14 encoding, | 13 encoding, |
15 pycompat, | 14 pycompat, |
16 util, | 15 util, |
17 ) | 16 ) |