summaryrefslogtreecommitdiffstats
path: root/Doc/lib
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2004-05-05 04:18:11 (GMT)
committerFred Drake <fdrake@acm.org>2004-05-05 04:18:11 (GMT)
commitcee8879a7d949f5ab080be373cd15cf476e5f058 (patch)
tree66e9e332957255672539f8bac7c5c1108a845e61 /Doc/lib
parent4fe97ca4ce82dd2c2614ad591778e57d132a6687 (diff)
downloadcpython-cee8879a7d949f5ab080be373cd15cf476e5f058.zip
cpython-cee8879a7d949f5ab080be373cd15cf476e5f058.tar.gz
cpython-cee8879a7d949f5ab080be373cd15cf476e5f058.tar.bz2
note that the error code for socket.gaierror will be one of the EAI_*
constants (closes SF bug #837929)
Diffstat (limited to 'Doc/lib')
-rw-r--r--Doc/lib/libsocket.tex2
1 files changed, 2 insertions, 0 deletions
diff --git a/Doc/lib/libsocket.tex b/Doc/lib/libsocket.tex
index 6096391..4470ce5 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}