Lots of small corrections by Andrew Kuchling (plus all new rotor docs)

This commit is contained in:
Guido van Rossum 1994-08-08 12:30:22 +00:00
parent 4b4c664d2e
commit 16d6e7109d
62 changed files with 520 additions and 282 deletions

View file

@ -76,8 +76,10 @@ is an IP address itself it is returned unchanged.
\end{funcdesc}
\begin{funcdesc}{gethostname}{}
Return the current host's canonical name, as a string
(e.g. \code{'voorn.cwi.nl'}).
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, use
\code{socket.gethostbyname( socket.gethostname() )} instead.
\end{funcdesc}
\begin{funcdesc}{getservbyname}{servicename\, protocolname}