mercurial/config.py
changeset 52644 e627cc25b6f3
parent 52640 24ee91ba9aa8
--- a/mercurial/config.py	Sun Jan 05 22:23:31 2025 -0500
+++ b/mercurial/config.py	Sun Jan 05 22:26:16 2025 -0500
@@ -52,8 +52,7 @@
         return self._data.get(section, {})
 
     def __iter__(self):
-        for d in self.sections():
-            yield d
+        yield from self.sections()
 
     def update(self, src):
         current_level = self._current_source_level