mirror of
https://github.com/python/cpython
synced 2026-09-29 09:05:29 +03:00
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.
This commit is contained in:
parent
0fc8575412
commit
07fda7e3a0
2 changed files with 7 additions and 4 deletions
|
|
@ -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}}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue