mercurial/utils/stringutil.py
changeset 37932 bf6bb710b40f
parent 37750 f7194c925003
child 37941 af83a0ed0afb
--- a/mercurial/utils/stringutil.py	Thu Apr 19 21:00:12 2018 +0900
+++ b/mercurial/utils/stringutil.py	Fri Apr 27 13:15:16 2018 -0400
@@ -46,6 +46,8 @@
         return '%d' % o
     elif isinstance(o, float):
         return '%f' % o
+    elif isinstance(o, tuple):
+        return '(%s)' % (b', '.join(pprint(a, bprefix=bprefix) for a in o))
     elif o is None:
         return b'None'
     else: