[Python-checkins] python/dist/src/Doc/lib libsocket.tex,1.88,1.89
bcannon at users.sourceforge.net
bcannon at users.sourceforge.net
Fri Mar 11 01:04:20 CET 2005
Update of /cvsroot/python/python/dist/src/Doc/lib
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16661/Doc/lib
Modified Files:
libsocket.tex
Log Message:
Fix test for socket.getfqdn() to also include the name returned by
socket.gethostname() in the check for a valid return.
Also clarified docs (official and docstring) that the value from gethostname()
is returned if gethostbyaddr() doesn't do the job.
Index: libsocket.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/libsocket.tex,v
retrieving revision 1.88
retrieving revision 1.89
diff -u -d -r1.88 -r1.89
--- libsocket.tex 26 Aug 2004 00:51:16 -0000 1.88
+++ libsocket.tex 11 Mar 2005 00:04:17 -0000 1.89
@@ -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}
More information about the Python-checkins
mailing list