diff -r 55d132525155 -r 642e31cb55f0 mercurial/interfaces/util.py --- a/mercurial/interfaces/util.py Mon Feb 21 13:03:43 2022 -0700 +++ b/mercurial/interfaces/util.py Mon Feb 21 13:08:28 2022 -0700 @@ -20,11 +20,11 @@ implementer = zi.implementer else: - class Attribute(object): + class Attribute: def __init__(self, __name__, __doc__=b''): pass - class Interface(object): + class Interface: def __init__( self, name, bases=(), attrs=None, __doc__=None, __module__=None ):