note that the error code for socket.gaierror will be one of the EAI_*

constants
(closes SF bug #837929)
This commit is contained in:
Fred Drake 2004-05-05 04:18:11 +00:00
parent 4fe97ca4ce
commit cee8879a7d

View file

@ -107,6 +107,8 @@ The accompanying value is a pair \code{(\var{error}, \var{string})}
representing an error returned by a library call.
\var{string} represents the description of \var{error}, as returned
by the \cfunction{gai_strerror()} C function.
The \var{error} value will match one of the \constant{EAI_*} constants
defined in this module.
\end{excdesc}
\begin{excdesc}{timeout}