comparison mercurial/ui.py @ 50952: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 ce9cb12ca8c9
comparison
equal deleted inserted replaced
50951:d718eddf01d9 50952:18c8c18993f0
35 ) 35 )
36 36
37 from .i18n import _ 37 from .i18n import _
38 from .node import hex 38 from .node import hex
39 from .pycompat import ( 39 from .pycompat import (
40 getattr,
41 open, 40 open,
42 ) 41 )
43 42
44 from . import ( 43 from . import (
45 color, 44 color,