diff options
Diffstat (limited to 'Doc/lib/libsocket.tex')
-rw-r--r-- | Doc/lib/libsocket.tex | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/Doc/lib/libsocket.tex b/Doc/lib/libsocket.tex index c63b52b20b..d6aab50ccd 100644 --- a/Doc/lib/libsocket.tex +++ b/Doc/lib/libsocket.tex @@ -171,12 +171,12 @@ supported on this platform. \end{datadesc} \begin{funcdesc}{create_connection}{address\optional{, timeout}} -Connects to the \var{address} received (as usual, a pair host/port), with -an optional timeout for the connection. Specially useful for higher-level -protocols, it is not normally used directly from application-level code. -Passing the optional \var{timeout} parameter will set the timeout on the -socket instance (if not present, or passed as None, the global default -timeout setting is used). +Connects to the \var{address} received (as usual, a \code{(host, port)} +pair), with an optional timeout for the connection. Specially useful for +higher-level protocols, it is not normally used directly from +application-level code. Passing the optional \var{timeout} parameter +will set the timeout on the socket instance (if it is not given or +\code{None}, the global default timeout setting is used). \end{funcdesc} \begin{funcdesc}{getaddrinfo}{host, port\optional{, family\optional{, |