[Python-checkins] python/dist/src/Doc/lib libsocket.tex,1.74,1.75

rhettinger@users.sourceforge.net rhettinger@users.sourceforge.net
Sat, 28 Jun 2003 21:56:01 -0700


Update of /cvsroot/python/python/dist/src/Doc/lib
In directory sc8-pr-cvs1:/tmp/cvs-serv8888

Modified Files:
	libsocket.tex 
Log Message:
SF patch #760257:  add socket.timeout exception
(Contributed by Bob Halley)

Add documentation for the new socket.timeout exception.



Index: libsocket.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/libsocket.tex,v
retrieving revision 1.74
retrieving revision 1.75
diff -C2 -d -r1.74 -r1.75
*** libsocket.tex	20 Jun 2003 17:11:39 -0000	1.74
--- libsocket.tex	29 Jun 2003 04:55:59 -0000	1.75
***************
*** 110,113 ****
--- 110,121 ----
  \end{excdesc}
  
+ \begin{excdesc}{timeout}
+ This exception is raised when a timeout occurs on a socket which has
+ had timeouts enabled via a prior call to \method{settimeout()}.  The
+ accompanying value is a string whose value is currently always ``timed
+ out''.
+ \versionadded{2.3}
+ \end{excdesc}
+ 
  \begin{datadesc}{AF_UNIX}
  \dataline{AF_INET}
***************
*** 580,584 ****
  can be a nonnegative float expressing seconds, or \code{None}.
  If a float is
! given, subsequent 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
--- 588,592 ----
  can be a nonnegative float expressing seconds, or \code{None}.
  If a float is
! given, subsequent socket operations will raise an \exception{timeout}
  exception if the timeout period \var{value} has elapsed before the
  operation has completed.  Setting a timeout of \code{None} disables