[Python-checkins] r52816 - python/branches/release25-maint/Doc/lib/libsocket.tex
neal.norwitz
python-checkins at python.org
Tue Nov 21 07:25:09 CET 2006
Author: neal.norwitz
Date: Tue Nov 21 07:25:09 2006
New Revision: 52816
Modified:
python/branches/release25-maint/Doc/lib/libsocket.tex
Log:
Fix SF #1599879, socket.gethostname should ref getfqdn directly.
Modified: python/branches/release25-maint/Doc/lib/libsocket.tex
==============================================================================
--- python/branches/release25-maint/Doc/lib/libsocket.tex (original)
+++ python/branches/release25-maint/Doc/lib/libsocket.tex Tue Nov 21 07:25:09 2006
@@ -241,8 +241,8 @@
This operation assumes that there is a valid address-to-host mapping for
the host, and the assumption does not always hold.
Note: \function{gethostname()} doesn't always return the fully qualified
-domain name; use \code{gethostbyaddr(gethostname())}
-(see below).
+domain name; use \code{getfqdn()}
+(see above).
\end{funcdesc}
\begin{funcdesc}{gethostbyaddr}{ip_address}
More information about the Python-checkins
mailing list