mirror of
https://github.com/python/cpython.git
synced 2025-10-16 19:57:59 +00:00
RISCOS changes by dschwertberger.
This commit is contained in:
parent
4ba3d657ef
commit
d74fb6b12a
6 changed files with 64 additions and 24 deletions
|
@ -41,6 +41,8 @@ if os.name == 'mac':
|
|||
from macurl2path import url2pathname, pathname2url
|
||||
elif os.name == 'nt':
|
||||
from nturl2path import url2pathname, pathname2url
|
||||
elif os.name == 'riscos':
|
||||
from rourl2path import url2pathname, pathname2url
|
||||
else:
|
||||
def url2pathname(pathname):
|
||||
return unquote(pathname)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue