diff -r 73ab542565e0 -r 5cc8deb96b48 mercurial/encoding.py --- a/mercurial/encoding.py Sun Jan 05 22:12:02 2025 -0500 +++ b/mercurial/encoding.py Sun Jan 05 22:23:31 2025 -0500 @@ -130,7 +130,7 @@ if typing.TYPE_CHECKING: # pseudo implementation to help pytype see localstr() constructor def __init__(self, u: bytes, l: bytes) -> None: - super(localstr, self).__init__(l) + super().__init__(l) self._utf8 = u def __hash__(self):