--- a/mercurial/utils/cborutil.py Mon Feb 21 13:03:43 2022 -0700
+++ b/mercurial/utils/cborutil.py Mon Feb 21 13:08:28 2022 -0700
@@ -483,7 +483,7 @@
return self
-class sansiodecoder(object):
+class sansiodecoder:
"""A CBOR decoder that doesn't perform its own I/O.
To use, construct an instance and feed it segments containing
@@ -976,7 +976,7 @@
return l
-class bufferingdecoder(object):
+class bufferingdecoder:
"""A CBOR decoder that buffers undecoded input.
This is a glorified wrapper around ``sansiodecoder`` that adds a buffering