Add 'r' to docstrings to avoid expanded backslash escapes. (Ka-Ping Yee)
diff --git a/Lib/nturl2path.py b/Lib/nturl2path.py
index ae261ba..0445b8a 100644
--- a/Lib/nturl2path.py
+++ b/Lib/nturl2path.py
@@ -1,7 +1,8 @@
"""Convert a NT pathname to a file URL and vice versa."""
def url2pathname(url):
- """ Convert a URL to a DOS path...
+ r"""Convert a URL to a DOS path.
+
///C|/foo/bar/spam.foo
becomes
@@ -32,7 +33,8 @@
return path
def pathname2url(p):
- """ Convert a DOS path name to a file url...
+ r"""Convert a DOS path name to a file url.
+
C:\foo\bar\spam.foo
becomes