mirror of
https://github.com/python/cpython.git
synced 2025-07-15 23:35:23 +00:00
add nturl2path
This commit is contained in:
parent
2d38f9146b
commit
2281d35578
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue