[issue4257] Documentation for socket.gethostname() needs tweaking

2008-11-03 Thread Roy Smith
New submission from Roy Smith [EMAIL PROTECTED]: The docs say: Return a string containing the hostname of the machine where the Python interpreter is currently executing. If you want to know the current machine's IP address, you may want to use gethostbyname(gethostname()). This operation

[issue4257] Documentation for socket.gethostname() needs tweaking

2008-11-03 Thread Benjamin Peterson
Benjamin Peterson [EMAIL PROTECTED] added the comment: Thanks for the suggestion fixed in r67089. -- nosy: +benjamin.peterson resolution: - fixed status: open - closed ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue4257