mercurial/utils/procutil.py
changeset 48946 642e31cb55f0
parent 48913 f254fc73d956
child 49084 ea98850a136e
--- a/mercurial/utils/procutil.py	Mon Feb 21 13:03:43 2022 -0700
+++ b/mercurial/utils/procutil.py	Mon Feb 21 13:08:28 2022 -0700
@@ -59,7 +59,7 @@
         raise IOError(errno.EBADF, 'Bad file descriptor')
 
 
-class LineBufferedWrapper(object):
+class LineBufferedWrapper:
     def __init__(self, orig):
         self.orig = orig
 
@@ -98,7 +98,7 @@
     return stream
 
 
-class WriteAllWrapper(object):
+class WriteAllWrapper:
     def __init__(self, orig):
         self.orig = orig
 
@@ -193,7 +193,7 @@
     return _(b"killed by signal %d") % -code
 
 
-class _pfile(object):
+class _pfile:
     """File-like wrapper for a stream opened by subprocess.Popen()"""
 
     def __init__(self, proc, fp):