Kaydet (Commit) 2281d355 authored tarafından Guido van Rossum's avatar Guido van Rossum

add nturl2path

üst 2d38f914
...@@ -25,6 +25,8 @@ __version__ = '1.3' ...@@ -25,6 +25,8 @@ __version__ = '1.3'
# Helper for non-unix systems # Helper for non-unix systems
if os.name == 'mac': if os.name == 'mac':
from macurl2path import url2pathname, pathname2url from macurl2path import url2pathname, pathname2url
elif os.name == 'nt':
from nturl2path import url2pathname, pathname2url
else: else:
def url2pathname(pathname): def url2pathname(pathname):
return pathname return pathname
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment