summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2016-08-17 12:40:45 (GMT)
committerVictor Stinner <victor.stinner@gmail.com>2016-08-17 12:40:45 (GMT)
commit72f25c8bc00589f41b9941081811385f92a4e004 (patch)
tree3e5a1a18a08dfded6283e22e14a7948e003fff61 /Lib
parent74e3a597b026a18af96f86a2f9d2d07fbd7c26e4 (diff)
parent3da57436ba6265de2a6abb3846e6e3a8e2c02322 (diff)
downloadcpython-72f25c8bc00589f41b9941081811385f92a4e004.zip
cpython-72f25c8bc00589f41b9941081811385f92a4e004.tar.gz
cpython-72f25c8bc00589f41b9941081811385f92a4e004.tar.bz2
Merge 3.5 (socket.__all__)
Diffstat (limited to 'Lib')
-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