summaryrefslogtreecommitdiffstats
path: root/Lib/socket.py
diff options
context:
space:
mode:
authorDave Cole <djc@object-craft.com.au>2004-08-09 04:51:41 (GMT)
committerDave Cole <djc@object-craft.com.au>2004-08-09 04:51:41 (GMT)
commit331708b226db74e745ef9972f9d4177348e4399d (patch)
treed0fece579509cedd357e981e2213cebf1e241967 /Lib/socket.py
parent80e53141b9227c39b7edb4677b8b1c14551866ec (diff)
downloadcpython-331708b226db74e745ef9972f9d4177348e4399d.zip
cpython-331708b226db74e745ef9972f9d4177348e4399d.tar.gz
cpython-331708b226db74e745ef9972f9d4177348e4399d.tar.bz2
Patch #1003700: Add socketpair function to socket module.
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 e97ce59..f96a146 100644
--- a/Lib/socket.py
+++ b/Lib/socket.py
@@ -10,6 +10,7 @@ socket are available as methods of the socket object.
Functions:
socket() -- create a new socket object
+socketpair() -- create a pair of new socket objects [*]
fromfd() -- create a socket object from an open file descriptor [*]
gethostname() -- return the current hostname
gethostbyname() -- map a hostname to its IP number