changeset 48946 | 642e31cb55f0 |
parent 48875 | 6000f5b25c9b |
child 51859 | f4733654f144 |
--- 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 ):