summaryrefslogtreecommitdiffstats
path: root/Lib/socket.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/socket.py
parent4ba3d657efc124a79b24cc9d8160191384d341de (diff)
downloadcpython-d74fb6b12a9a53ce09648484076c84e727561612.zip
cpython-d74fb6b12a9a53ce09648484076c84e727561612.tar.gz
cpython-d74fb6b12a9a53ce09648484076c84e727561612.tar.bz2
RISCOS changes by dschwertberger.
Diffstat (limited to 'Lib/socket.py')
-rw-r--r--Lib/socket.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/Lib/socket.py b/Lib/socket.py
index c928700..136a052 100644
--- a/Lib/socket.py
+++ b/Lib/socket.py
@@ -48,7 +48,8 @@ __all__.extend(os._get_exports_list(_socket))
del _socket
if (sys.platform.lower().startswith("win")
- or (hasattr(os, 'uname') and os.uname()[0] == "BeOS")):
+ or (hasattr(os, 'uname') and os.uname()[0] == "BeOS")
+ or (sys.platform=="RISCOS")):
# be sure this happens only once, even in the face of reload():
try: