From dbfb12148d59933273d9bf68cb0cbe5486b1ca61 Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Thu, 22 Aug 2002 17:31:16 +0000 Subject: [PATCH] On Windows, make sure SocketType is the same as socket. (SF bug 598097) --- Lib/socket.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/socket.py b/Lib/socket.py index 86eb55e34d9..a8a4e39d5a1 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."""