Issue #27698: Add socketpair to socket.__all__ on Windows
This commit is contained in:
parent
034fb564b1
commit
3da57436ba
|
@ -519,6 +519,7 @@ else:
|
|||
finally:
|
||||
lsock.close()
|
||||
return (ssock, csock)
|
||||
__all__.append("socketpair")
|
||||
|
||||
socketpair.__doc__ = """socketpair([family[, type[, proto]]]) -> (socket object, socket object)
|
||||
Create a pair of socket objects from the sockets returned by the platform
|
||||
|
|
Loading…
Reference in New Issue