]> granicus.if.org Git - python/commitdiff
Add version info, and fix another typo and wording spotted by /F. I think this is...
authorNeal Norwitz <nnorwitz@gmail.com>
Thu, 6 Jun 2002 22:24:10 +0000 (22:24 +0000)
committerNeal Norwitz <nnorwitz@gmail.com>
Thu, 6 Jun 2002 22:24:10 +0000 (22:24 +0000)
Doc/lib/libsocket.tex

index bb1fca7cdb123e54402e81ba71ccf2013a686127..9589cbeef99f259d86025f66b53b8bc91a3c2f03 100644 (file)
@@ -520,17 +520,19 @@ value or \code{None}. Socket operations will raise an
 \exception{error} exception if the timeout period \var{value} has
 elapsed before the operation has completed. Setting a timeout of
 \code{None} disables timeouts on socket operations.
+\versionadded{2.3}
 \end{methoddesc}
 
 \begin{methoddesc}[socket]{gettimeout}{}
 Returns the timeout in floating seconds associated with socket
 operations.  A timeout of \code{None} indicates that timeouts on
 socket operations are disabled.
+\versionadded{2.3}
 \end{methoddesc}
 
 Some notes on the interaction between socket blocking and timeouts:
-socket blocking mode takes precedence over timeouts. If a socket if
-set to non-blocking mode, then timeouts set on sockets are not used.
+socket blocking mode takes precedence over timeouts. If a socket is
+set to non-blocking mode, then timeouts are not used.
 The timeout value associated with the socket can still be set using
 \method{settimeout()} and its value retrieved using
 \method{gettimeout()}, but the timeout is never enforced (an exception