summaryrefslogtreecommitdiffstats
path: root/Lib/urllib.py
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2001-03-02 06:43:49 (GMT)
committerGuido van Rossum <guido@python.org>2001-03-02 06:43:49 (GMT)
commitd74fb6b12a9a53ce09648484076c84e727561612 (patch)
tree1dc433fdc367d5e2e26eef57606c95df8c2c089b /Lib/urllib.py
parent4ba3d657efc124a79b24cc9d8160191384d341de (diff)
downloadcpython-d74fb6b12a9a53ce09648484076c84e727561612.zip
cpython-d74fb6b12a9a53ce09648484076c84e727561612.tar.gz
cpython-d74fb6b12a9a53ce09648484076c84e727561612.tar.bz2
RISCOS changes by dschwertberger.
Diffstat (limited to 'Lib/urllib.py')
-rw-r--r--Lib/urllib.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/urllib.py b/Lib/urllib.py
index 2eb90f9..302f707 100644
--- a/Lib/urllib.py
+++ b/Lib/urllib.py
@@ -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)