mercurial/changelog.py
changeset 34147 264872544362
parent 34146 0fa781320203
child 34148 708b5530a273
--- a/mercurial/changelog.py	Sun Sep 03 14:32:11 2017 +0900
+++ b/mercurial/changelog.py	Sun Sep 03 14:35:37 2017 +0900
@@ -42,11 +42,11 @@
 def decodeextra(text):
     """
     >>> sorted(decodeextra(encodeextra({b'foo': b'bar', b'baz': chr(0) + b'2'})
-    ...                    ).iteritems())
+    ...                    ).items())
     [('baz', '\\x002'), ('branch', 'default'), ('foo', 'bar')]
     >>> sorted(decodeextra(encodeextra({b'foo': b'bar',
     ...                                 b'baz': chr(92) + chr(0) + b'2'})
-    ...                    ).iteritems())
+    ...                    ).items())
     [('baz', '\\\\\\x002'), ('branch', 'default'), ('foo', 'bar')]
     """
     extra = _defaultextra.copy()