Commit 3da57436 authored by Victor Stinner's avatar Victor Stinner

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

parent 034fb564
......@@ -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
......
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