summaryrefslogtreecommitdiffstats
path: root/Lib/socket.py
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2016-08-17 12:40:08 (GMT)
committerVictor Stinner <victor.stinner@gmail.com>2016-08-17 12:40:08 (GMT)
commit3da57436ba6265de2a6abb3846e6e3a8e2c02322 (patch)
tree22dcfa6cad94aaea5ee6a174fd068d46a93db836 /Lib/socket.py
parent034fb564b17f14d8012c7cb8f2e4f4429be8b79a (diff)
downloadcpython-3da57436ba6265de2a6abb3846e6e3a8e2c02322.zip
cpython-3da57436ba6265de2a6abb3846e6e3a8e2c02322.tar.gz
cpython-3da57436ba6265de2a6abb3846e6e3a8e2c02322.tar.bz2
Issue #27698: Add socketpair to socket.__all__ on Windows
Diffstat (limited to 'Lib/socket.py')
-rw-r--r--Lib/socket.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/socket.py b/Lib/socket.py
index ac2e3dd..6dddfe1 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