mercurial/util.py
changeset 14146 1618c4f6f15b
parent 14100 3e9e02a41dfb
child 14147 617483af1cc0
--- a/mercurial/util.py	Sun May 01 08:00:25 2011 -0500
+++ b/mercurial/util.py	Sun May 01 15:49:13 2011 +0200
@@ -1319,7 +1319,7 @@
     return s
 
 class url(object):
-    """Reliable URL parser.
+    r"""Reliable URL parser.
 
     This parses URLs and provides attributes for the following
     components:
@@ -1350,8 +1350,8 @@
     <url scheme: 'bundle', path: 'foo'>
     >>> url('bundle://../foo')
     <url scheme: 'bundle', path: '../foo'>
-    >>> url('c:\\\\foo\\\\bar')
-    <url path: 'c:\\\\foo\\\\bar'>
+    >>> url(r'c:\foo\bar')
+    <url path: 'c:\\foo\\bar'>
 
     Authentication credentials: