From: Fred Drake Date: Wed, 5 May 2004 04:15:30 +0000 (+0000) Subject: note that the error code for socket.gaierror will be one of the EAI_* X-Git-Tag: v2.3.4c1~44 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=6777b2e118b3641f0ef50fef14db1718eecd626e;p=thirdparty%2FPython%2Fcpython.git note that the error code for socket.gaierror will be one of the EAI_* constants (closes SF bug #837929) --- diff --git a/Doc/lib/libsocket.tex b/Doc/lib/libsocket.tex index b9ba39bae1f4..23c3d7bdace3 100644 --- a/Doc/lib/libsocket.tex +++ b/Doc/lib/libsocket.tex @@ -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}