mirror of
https://github.com/python/cpython.git
synced 2025-07-23 11:15:24 +00:00
Lots of small corrections by Andrew Kuchling (plus all new rotor docs)
This commit is contained in:
parent
4b4c664d2e
commit
16d6e7109d
62 changed files with 520 additions and 282 deletions
|
@ -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}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue