diff options
| author | Neal Norwitz <nnorwitz@gmail.com> | 2006-11-21 06:23:44 (GMT) |
|---|---|---|
| committer | Neal Norwitz <nnorwitz@gmail.com> | 2006-11-21 06:23:44 (GMT) |
| commit | 7ac039653ea9fab695226c9a79a703577d7fc7ba (patch) | |
| tree | 404d7a516e9ec28e21e4ad87d5266361df8ef48b /Doc/lib | |
| parent | 10cdb7492e1e993e71e79d89388d85889533ecb3 (diff) | |
| download | cpython-7ac039653ea9fab695226c9a79a703577d7fc7ba.zip cpython-7ac039653ea9fab695226c9a79a703577d7fc7ba.tar.gz cpython-7ac039653ea9fab695226c9a79a703577d7fc7ba.tar.bz2 | |
Fix SF #1599879, socket.gethostname should ref getfqdn directly.
Diffstat (limited to 'Doc/lib')
| -rw-r--r-- | Doc/lib/libsocket.tex | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/lib/libsocket.tex b/Doc/lib/libsocket.tex index ececea4..f510fd4 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} |
