]> granicus.if.org Git - python/commitdiff
Fix SF #1599879, socket.gethostname should ref getfqdn directly.
authorNeal Norwitz <nnorwitz@gmail.com>
Tue, 21 Nov 2006 06:25:09 +0000 (06:25 +0000)
committerNeal Norwitz <nnorwitz@gmail.com>
Tue, 21 Nov 2006 06:25:09 +0000 (06:25 +0000)
Doc/lib/libsocket.tex

index ececea4b2cf43042811646efa418c236f794f5ce..f510fd40c0afe83a133e1e0f609bab1ee2153d6d 100644 (file)
@@ -241,8 +241,8 @@ If you want to know the current machine's IP address, you may want to use
 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}