summaryrefslogtreecommitdiff
path: root/Doc/lib/libsocket.tex
diff options
context:
space:
mode:
authorNeal Norwitz <nnorwitz@gmail.com>2006-11-21 06:25:09 +0000
committerNeal Norwitz <nnorwitz@gmail.com>2006-11-21 06:25:09 +0000
commit6a3955e99d14b8e4b79d0dd1addae281e5e75318 (patch)
tree45458d7f8bdb85ea5563d91e10954bb9cc199598 /Doc/lib/libsocket.tex
parent88b5d2bf30ca3d3618e2785a31c352d3eb0d7033 (diff)
downloadcpython-git-6a3955e99d14b8e4b79d0dd1addae281e5e75318.tar.gz
Fix SF #1599879, socket.gethostname should ref getfqdn directly.
Diffstat (limited to 'Doc/lib/libsocket.tex')
-rw-r--r--Doc/lib/libsocket.tex4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/lib/libsocket.tex b/Doc/lib/libsocket.tex
index ececea4b2c..f510fd40c0 100644
--- a/Doc/lib/libsocket.tex
+++ b/Doc/lib/libsocket.tex
@@ -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}