diff Lib/socket.py @ 24944:54b601d3b2a6 legacy-trunk

On Windows, make sure SocketType is the same as socket. (SF bug 598097)
author Guido van Rossum <guido@python.org>
date Thu, 22 Aug 2002 17:31:16 +0000
parents 3796d39f0b80
children 161b8bd8a226
line wrap: on
line diff
--- a/Lib/socket.py	Thu Aug 22 17:23:33 2002 +0000
+++ b/Lib/socket.py	Thu Aug 22 17:31:16 2002 +0000
@@ -181,7 +181,7 @@
     del _m, _s
 
 if _needwrapper:
-    socket = _socketobject
+    socket = SocketType = _socketobject
 
 class _fileobject(object):
     """Faux file object attached to a socket object."""