mercurial/util.py
changeset 34137 a8994d08e4a2
parent 34134 d4d4d11bac77
child 34139 be00af4a1ac5
--- a/mercurial/util.py	Sun Sep 03 15:47:17 2017 +0900
+++ b/mercurial/util.py	Sun Sep 03 14:56:31 2017 +0900
@@ -13,7 +13,7 @@
 hide platform-specific details from the core.
 """
 
-from __future__ import absolute_import
+from __future__ import absolute_import, print_function
 
 import abc
 import bz2
@@ -2836,9 +2836,9 @@
         'file:///tmp/foo/bar'
         >>> bytes(url(b'file:///c:/tmp/foo/bar'))
         'file:///c:/tmp/foo/bar'
-        >>> print url(br'bundle:foo\bar')
+        >>> print(url(br'bundle:foo\bar'))
         bundle:foo\bar
-        >>> print url(br'file:///D:\data\hg')
+        >>> print(url(br'file:///D:\data\hg'))
         file:///D:\data\hg
         """
         if self._localpath: