diff mercurial/logcmdutil.py @ 52668:5cc8deb96b48

pyupgrade: modernize calls to superclass methods This is the `legacy` fixer in `pyupgrade`, with the loop yielding the offset of `yield` statements commented out.
author Matt Harbison <matt_harbison@yahoo.com>
date Sun, 05 Jan 2025 22:23:31 -0500
parents f4733654f144
children e627cc25b6f3
line wrap: on
line diff
--- a/mercurial/logcmdutil.py	Sun Jan 05 22:12:02 2025 -0500
+++ b/mercurial/logcmdutil.py	Sun Jan 05 22:23:31 2025 -0500
@@ -633,7 +633,7 @@
             if not self.footer:
                 self.footer = b""
             self.footer += self.t.render(self._parts[b'docfooter'], {})
-        return super(changesettemplater, self).close()
+        return super().close()
 
     def _show(self, ctx, copies, props):
         '''show a single changeset or file revision'''