diff -r 73ab542565e0 -r 5cc8deb96b48 mercurial/wireprotoframing.py --- a/mercurial/wireprotoframing.py Sun Jan 05 22:12:02 2025 -0500 +++ b/mercurial/wireprotoframing.py Sun Jan 05 22:23:31 2025 -0500 @@ -798,7 +798,7 @@ class zstd8mbencoder(zstdbaseencoder): def __init__(self, ui): - super(zstd8mbencoder, self).__init__(3) + super().__init__(3) class zstdbasedecoder: @@ -819,7 +819,7 @@ _(b'zstd8mb decoder received unexpected additional values') ) - super(zstd8mbdecoder, self).__init__(maxwindowsize=8 * 1048576) + super().__init__(maxwindowsize=8 * 1048576) # We lazily populate this to avoid excessive module imports when importing @@ -877,7 +877,7 @@ """Represents a stream used for receiving data.""" def __init__(self, streamid, active=False): - super(inputstream, self).__init__(streamid, active=active) + super().__init__(streamid, active=active) self._decoder = None def setdecoder(self, ui, name, extraobjs): @@ -910,7 +910,7 @@ """Represents a stream used for sending data.""" def __init__(self, streamid, active=False): - super(outputstream, self).__init__(streamid, active=active) + super().__init__(streamid, active=active) self.streamsettingssent = False self._encoder = None self._encodername = None