From: Guido van Rossum Date: Thu, 22 Aug 2002 17:31:16 +0000 (+0000) Subject: On Windows, make sure SocketType is the same as socket. (SF bug X-Git-Tag: v2.3c1~4361 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=dbfb12148d59933273d9bf68cb0cbe5486b1ca61;p=thirdparty%2FPython%2Fcpython.git On Windows, make sure SocketType is the same as socket. (SF bug 598097) --- diff --git a/Lib/socket.py b/Lib/socket.py index 86eb55e34d97..a8a4e39d5a18 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."""