mercurial/namespaces.py
changeset 32550 b98199a5c3e1
parent 32291 bd872f64a8ba
child 33048 46fa46608ca5
--- a/mercurial/namespaces.py	Sun May 28 15:51:07 2017 -0400
+++ b/mercurial/namespaces.py	Mon May 29 00:00:02 2017 -0400
@@ -66,9 +66,11 @@
     def __iter__(self):
         return self._names.__iter__()
 
-    def iteritems(self):
+    def items(self):
         return self._names.iteritems()
 
+    iteritems = items
+
     def addnamespace(self, namespace, order=None):
         """register a namespace