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."""