mercurial/templatefuncs.py
changeset 48913 f254fc73d956
parent 48875 6000f5b25c9b
child 48929 278030cc9353
--- a/mercurial/templatefuncs.py	Thu Mar 03 17:39:20 2022 -0800
+++ b/mercurial/templatefuncs.py	Thu Mar 03 18:28:30 2022 -0800
@@ -910,7 +910,7 @@
 
 def loadfunction(ui, extname, registrarobj):
     """Load template function from specified registrarobj"""
-    for name, func in pycompat.iteritems(registrarobj._table):
+    for name, func in registrarobj._table.items():
         funcs[name] = func