mercurial/dagparser.py
changeset 33716 c91013452b33
parent 26587 56b2bcea2529
child 34131 0fa781320203
--- a/mercurial/dagparser.py	Thu Jun 15 13:31:33 2017 -0400
+++ b/mercurial/dagparser.py	Thu Jun 15 13:32:02 2017 -0400
@@ -156,7 +156,7 @@
     Error:
 
         >>> try: list(parsedag('+1 bad'))
-        ... except Exception, e: print e
+        ... except Exception, e: print(e)
         invalid character in dag description: bad...
 
     '''