summaryrefslogtreecommitdiffstats
path: root/Lib/socket.py
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2002-08-22 17:31:16 (GMT)
committerGuido van Rossum <guido@python.org>2002-08-22 17:31:16 (GMT)
commitdbfb12148d59933273d9bf68cb0cbe5486b1ca61 (patch)
tree106ab9e9c7f2bdc883876b65b045ff141d8fdc7d /Lib/socket.py
parentdc61cdf6c0f433cba6a51b05346acb5b538a7617 (diff)
downloadcpython-dbfb12148d59933273d9bf68cb0cbe5486b1ca61.zip
cpython-dbfb12148d59933273d9bf68cb0cbe5486b1ca61.tar.gz
cpython-dbfb12148d59933273d9bf68cb0cbe5486b1ca61.tar.bz2
On Windows, make sure SocketType is the same as socket. (SF bug
598097)
Diffstat (limited to 'Lib/socket.py')
-rw-r--r--Lib/socket.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/socket.py b/Lib/socket.py
index 86eb55e..a8a4e39 100644
--- a/Lib/socket.py
+++ b/Lib/socket.py
@@ -181,7 +181,7 @@ class _socketobject(object):
del _m, _s
if _needwrapper:
- socket = _socketobject
+ socket = SocketType = _socketobject
class _fileobject(object):
"""Faux file object attached to a socket object."""