add nturl2path

This commit is contained in:
Guido van Rossum 1996-06-26 19:47:37 +00:00
parent 2d38f9146b
commit 2281d35578

View file

@ -25,6 +25,8 @@
# 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