mirror of
https://github.com/python/cpython.git
synced 2025-08-31 14:07:50 +00:00
On Windows, make sure SocketType is the same as socket. (SF bug
598097)
This commit is contained in:
parent
dc61cdf6c0
commit
dbfb12148d
1 changed files with 1 additions and 1 deletions
|
@ -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."""
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue