summaryrefslogtreecommitdiffstats
path: root/Lib/dos-8x3/nturl2pa.py
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2000-06-29 19:35:29 (GMT)
committerGuido van Rossum <guido@python.org>2000-06-29 19:35:29 (GMT)
commit3e06ab1d447442a56af739a906546d8d1998dfdc (patch)
tree23145a16354b8b2e59932767c6dc9a5b56bb12cf /Lib/dos-8x3/nturl2pa.py
parent45cd9de2bb2faa96bb18eb11d20261d7d1b8c20e (diff)
downloadcpython-3e06ab1d447442a56af739a906546d8d1998dfdc.zip
cpython-3e06ab1d447442a56af739a906546d8d1998dfdc.tar.gz
cpython-3e06ab1d447442a56af739a906546d8d1998dfdc.tar.bz2
The usual :)
Diffstat (limited to 'Lib/dos-8x3/nturl2pa.py')
-rwxr-xr-xLib/dos-8x3/nturl2pa.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/Lib/dos-8x3/nturl2pa.py b/Lib/dos-8x3/nturl2pa.py
index ae261ba..0445b8a 100755
--- a/Lib/dos-8x3/nturl2pa.py
+++ b/Lib/dos-8x3/nturl2pa.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 @@ def url2pathname(url):
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