summaryrefslogtreecommitdiffstats
path: root/Doc/lib
diff options
context:
space:
mode:
authorDave Cole <djc@object-craft.com.au>2004-08-23 05:16:23 (GMT)
committerDave Cole <djc@object-craft.com.au>2004-08-23 05:16:23 (GMT)
commit07fda7e3a041cabb4bb375f07b7a461e0966d1c1 (patch)
tree91bfb8d494166952019f2a365719f63ed8ab3ad6 /Doc/lib
parent0fc85754120bf6cd7d97894f48f37115490f46c6 (diff)
downloadcpython-07fda7e3a041cabb4bb375f07b7a461e0966d1c1.zip
cpython-07fda7e3a041cabb4bb375f07b7a461e0966d1c1.tar.gz
cpython-07fda7e3a041cabb4bb375f07b7a461e0966d1c1.tar.bz2
Updated the socketpair() docstring and documentation to explain that the
default famility is AF_UNIX if defined for the platform, otherwise the default is AF_INET.
Diffstat (limited to 'Doc/lib')
-rw-r--r--Doc/lib/libsocket.tex5
1 files changed, 3 insertions, 2 deletions
diff --git a/Doc/lib/libsocket.tex b/Doc/lib/libsocket.tex
index 73590b4..762d762 100644
--- a/Doc/lib/libsocket.tex
+++ b/Doc/lib/libsocket.tex
@@ -307,8 +307,9 @@ success, a new \class{SSLObject} is returned.
Build a pair of connected socket objects using the given address
family, socket type and protocol number. Address family, socket type
and protocol number are as for the \function{socket()} function above.
-Availability: \UNIX.
-\versionadded{2.4}
+The default family is AF_UNIX if defined for the platform, otherwise
+the default is AF_INET.
+Availability: \UNIX. \versionadded{2.4}
\end{funcdesc}
\begin{funcdesc}{fromfd}{fd, family, type\optional{, proto}}