]> granicus.if.org Git - python/commit
Fix test for socket.getfqdn() to also include the name returned by
authorBrett Cannon <bcannon@gmail.com>
Fri, 11 Mar 2005 00:04:17 +0000 (00:04 +0000)
committerBrett Cannon <bcannon@gmail.com>
Fri, 11 Mar 2005 00:04:17 +0000 (00:04 +0000)
commit01668a1ab93baacd3c68f8b0b3b0ca6d43f0f444
tree62d596a9ce52ca561ab06516a8c293c2cc7095c0
parent94d6201eb066fc769786f0c52ffc859fc6169d50
Fix test for socket.getfqdn() to also include the name returned by
socket.gethostname() in the check for a valid return.

Also clarified docs (official and docstring) that the value from gethostname()
is returned if gethostbyaddr() doesn't do the job.
Doc/lib/libsocket.tex
Lib/socket.py
Lib/test/test_socket.py