[Python-checkins] python/dist/src/Doc/lib libsocket.tex, 1.88,
1.88.2.1
bcannon at users.sourceforge.net
bcannon at users.sourceforge.net
Sat Mar 12 07:16:27 CET 2005
Update of /cvsroot/python/python/dist/src/Doc/lib
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21638/Doc/lib
Modified Files:
Tag: release24-maint
libsocket.tex
Log Message:
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.
Index: libsocket.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/libsocket.tex,v
retrieving revision 1.88
retrieving revision 1.88.2.1
diff -u -d -r1.88 -r1.88.2.1
--- libsocket.tex 26 Aug 2004 00:51:16 -0000 1.88
+++ libsocket.tex 12 Mar 2005 06:15:54 -0000 1.88.2.1
@@ -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