On Windows, make sure SocketType is the same as socket. (SF bug
598097)
This commit is contained in:
parent
dc61cdf6c0
commit
dbfb12148d
|
@ -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."""
|
||||
|
|
Loading…
Reference in New Issue