From 3da57436ba6265de2a6abb3846e6e3a8e2c02322 Mon Sep 17 00:00:00 2001 From: Victor Stinner Date: Wed, 17 Aug 2016 14:40:08 +0200 Subject: Issue #27698: Add socketpair to socket.__all__ on Windows --- Lib/socket.py | 1 + 1 file changed, 1 insertion(+) (limited to 'Lib/socket.py') diff --git a/Lib/socket.py b/Lib/socket.py index ac2e3dd0fa..6dddfe1d34 100644 --- a/Lib/socket.py +++ b/Lib/socket.py @@ -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 -- cgit v1.2.1