summaryrefslogtreecommitdiff
path: root/Doc/lib/libsocket.tex
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2007-03-26 20:28:28 +0000
committerGeorg Brandl <georg@python.org>2007-03-26 20:28:28 +0000
commitf03facfe901d63df4ba83dab0677eb1379b7cb2c (patch)
tree528c9ea62bd29658edd6b3fbc4c7c64f71be8648 /Doc/lib/libsocket.tex
parent51b7abc5199cb87d9e17fbbb276a6695888d12f1 (diff)
downloadcpython-git-f03facfe901d63df4ba83dab0677eb1379b7cb2c.tar.gz
Some nits.
Diffstat (limited to 'Doc/lib/libsocket.tex')
-rw-r--r--Doc/lib/libsocket.tex12
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{,