mercurial/vfs.py
changeset 52643 5cc8deb96b48
parent 52163 7346f93be7a4
child 52901 6ee3c401882b
--- a/mercurial/vfs.py	Sun Jan 05 22:12:02 2025 -0500
+++ b/mercurial/vfs.py	Sun Jan 05 22:23:31 2025 -0500
@@ -786,7 +786,7 @@
     """
 
     def __init__(self, fh, closer) -> None:
-        super(delayclosedfile, self).__init__(fh)
+        super().__init__(fh)
         object.__setattr__(self, '_closer', closer)
 
     def __exit__(self, exc_type, exc_value, exc_tb) -> None:
@@ -900,7 +900,7 @@
     """
 
     def __init__(self, fh) -> None:
-        super(checkambigatclosing, self).__init__(fh)
+        super().__init__(fh)
         object.__setattr__(self, '_oldstat', util.filestat.frompath(fh.name))
 
     def _checkambig(self) -> None: