From: Victor Stinner Date: Wed, 17 Aug 2016 12:40:08 +0000 (+0200) Subject: Issue #27698: Add socketpair to socket.__all__ on Windows X-Git-Tag: v3.6.0b1~685^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=3da57436ba6265de2a6abb3846e6e3a8e2c02322;p=thirdparty%2FPython%2Fcpython.git Issue #27698: Add socketpair to socket.__all__ on Windows --- diff --git a/Lib/socket.py b/Lib/socket.py index ac2e3dd0fa73..6dddfe1d34b5 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