We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 69f6dab commit 4103280Copy full SHA for 4103280
Doc/library/socket.rst
@@ -827,8 +827,8 @@ The :mod:`socket` module also offers various network-related services:
827
.. function:: gethostbyname_ex(hostname)
828
829
Translate a host name to IPv4 address format, extended interface. Return a
830
- triple ``(hostname, aliaslist, ipaddrlist)`` where *hostname* is the primary
831
- host name responding to the given *ip_address*, *aliaslist* is a (possibly
+ triple ``(hostname, aliaslist, ipaddrlist)`` where *hostname* is the host's
+ primary host name, *aliaslist* is a (possibly
832
empty) list of alternative host names for the same address, and *ipaddrlist* is
833
a list of IPv4 addresses for the same interface on the same host (often but not
834
always a single address). :func:`gethostbyname_ex` does not support IPv6 name
0 commit comments