Commit dbfb1214 authored by Guido van Rossum's avatar Guido van Rossum

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

598097)
parent dc61cdf6
...@@ -181,7 +181,7 @@ class _socketobject(object): ...@@ -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."""
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment