mercurial/utils/cborutil.py
changeset 48946 642e31cb55f0
parent 48942 bce8f66d3045
child 51859 f4733654f144
--- 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