]> 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:18:11 +0000 (04:18 +0000)
committerFred Drake <fdrake@acm.org>
Wed, 5 May 2004 04:18:11 +0000 (04:18 +0000)
constants
(closes SF bug #837929)

Doc/lib/libsocket.tex

index 6096391664d2e79e1592e648e1398aae3b8d2106..4470ce5bdf1039ae987974a41abe35c8722c512c 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}