mercurial/cmdutil.py
changeset 48946 642e31cb55f0
parent 48913 f254fc73d956
child 48978 c80544aa4971
--- a/mercurial/cmdutil.py	Mon Feb 21 13:03:43 2022 -0700
+++ b/mercurial/cmdutil.py	Mon Feb 21 13:08:28 2022 -0700
@@ -666,7 +666,7 @@
     return commit(ui, repo, recordinwlock, pats, opts)
 
 
-class dirnode(object):
+class dirnode:
     """
     Represent a directory in user working copy with information required for
     the purpose of tersing its status.
@@ -832,7 +832,7 @@
 
 
 @attr.s(frozen=True)
-class morestatus(object):
+class morestatus:
     reporoot = attr.ib()
     unfinishedop = attr.ib()
     unfinishedmsg = attr.ib()
@@ -1343,7 +1343,7 @@
     return not pat or pat == b'-'
 
 
-class _unclosablefile(object):
+class _unclosablefile:
     def __init__(self, fp):
         self._fp = fp