mercurial/changelog.py
changeset 52643 5cc8deb96b48
parent 52162 13815c9decd4
--- a/mercurial/changelog.py	Sun Jan 05 22:12:02 2025 -0500
+++ b/mercurial/changelog.py	Sun Jan 05 22:23:31 2025 -0500
@@ -136,7 +136,7 @@
         if not text:
             return _changelogrevision(extra=_defaultextra, manifest=cl.nullid)
 
-        self = super(changelogrevision, cls).__new__(cls)
+        self = super().__new__(cls)
         # We could return here and implement the following as an __init__.
         # But doing it here is equivalent and saves an extra function call.
 
@@ -352,7 +352,7 @@
 
     def _write_docket(self, tr):
         if not self._v2_delayed:
-            super(changelog, self)._write_docket(tr)
+            super()._write_docket(tr)
 
     def delayupdate(self, tr):
         """delay visibility of index updates to other readers"""