On Windows, make sure SocketType is the same as socket. (SF bug

598097)
This commit is contained in:
Guido van Rossum 2002-08-22 17:31:16 +00:00
parent dc61cdf6c0
commit dbfb12148d

View File

@ -181,7 +181,7 @@ class _socketobject(object):
del _m, _s del _m, _s
if _needwrapper: if _needwrapper:
socket = _socketobject socket = SocketType = _socketobject
class _fileobject(object): class _fileobject(object):
"""Faux file object attached to a socket object.""" """Faux file object attached to a socket object."""