Issue #27698: Add socketpair to socket.__all__ on Windows

This commit is contained in:
Victor Stinner 2016-08-17 14:40:08 +02:00
parent 034fb564b1
commit 3da57436ba
1 changed files with 1 additions and 0 deletions

View File

@ -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