summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1996-06-26 19:47:37 (GMT)
committerGuido van Rossum <guido@python.org>1996-06-26 19:47:37 (GMT)
commit2281d35578450e7ee15c94b8667aa59bf406256c (patch)
tree67936e3f48309daf0ff784154c9e531e8d044de0 /Lib
parent2d38f9146b350bfbeb3ccac6e70c36e4b895db9c (diff)
downloadcpython-2281d35578450e7ee15c94b8667aa59bf406256c.zip
cpython-2281d35578450e7ee15c94b8667aa59bf406256c.tar.gz
cpython-2281d35578450e7ee15c94b8667aa59bf406256c.tar.bz2
add nturl2path
Diffstat (limited to 'Lib')
-rw-r--r--Lib/urllib.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/urllib.py b/Lib/urllib.py
index a8228eb..63e4182 100644
--- a/Lib/urllib.py
+++ b/Lib/urllib.py
@@ -25,6 +25,8 @@ __version__ = '1.3'
# Helper for non-unix systems
if os.name == 'mac':
from macurl2path import url2pathname, pathname2url
+elif os.name == 'nt':
+ from nturl2path import url2pathname, pathname2url
else:
def url2pathname(pathname):
return pathname