]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
note that the error code for socket.gaierror will be one of the EAI_*
authorFred Drake <fdrake@acm.org>
Wed, 5 May 2004 04:15:30 +0000 (04:15 +0000)
committerFred Drake <fdrake@acm.org>
Wed, 5 May 2004 04:15:30 +0000 (04:15 +0000)
constants
(closes SF bug #837929)

Doc/lib/libsocket.tex

index b9ba39bae1f4abb4caee19e55eff91ebb0bb3951..23c3d7bdace31ca7834253f6ddee7ed06b8edc5e 100644 (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}