summaryrefslogtreecommitdiffstats
path: root/Lib/socket.py
diff options
context:
space:
mode:
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