mirror of
https://github.com/python/cpython.git
synced 2025-07-24 11:44:31 +00:00
some RiscOS stuff I missed before (was only looking for "RISCOS")
This commit is contained in:
parent
ceaafa66ef
commit
289bc05709
15 changed files with 57 additions and 117 deletions
|
@ -46,8 +46,6 @@ 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):
|
||||
"""OS-specific conversion from a relative URL of the 'file' scheme
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue