mirror of
https://github.com/python/cpython.git
synced 2025-09-26 10:19:53 +00:00
note that the error code for socket.gaierror will be one of the EAI_*
constants (closes SF bug #837929)
This commit is contained in:
parent
4fe97ca4ce
commit
cee8879a7d
1 changed files with 2 additions and 0 deletions
|
@ -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}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue