Mercurial > cpython-lru_cache-weakref
diff Doc/lib/libsocket.tex @ 34739:0c82a7ef9554 2.4
Fix test_socket's test for socket.getfqdn() to also accept the result from
socket.gethostname() as a valid return value.
Also clarified the docs as they were a little hazy on the subject matter.
| author | Brett Cannon <bcannon@gmail.com> |
|---|---|
| date | Sat, 12 Mar 2005 06:15:56 +0000 |
| parents | 826ad896a7a5 |
| children | 5d5236eae8bd |
line wrap: on
line diff
--- a/Doc/lib/libsocket.tex Fri Mar 11 17:20:43 2005 +0000 +++ b/Doc/lib/libsocket.tex Sat Mar 12 06:15:56 2005 +0000 @@ -202,8 +202,8 @@ host. To find the fully qualified name, the hostname returned by \function{gethostbyaddr()} is checked, then aliases for the host, if available. The first name which includes a period is selected. In -case no fully qualified domain name is available, the hostname is -returned. +case no fully qualified domain name is available, the hostname as +returned by \function{gethostname()} is returned. \versionadded{2.0} \end{funcdesc}
