File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -827,8 +827,8 @@ The :mod:`socket` module also offers various network-related services:
827
827
.. function :: gethostbyname_ex(hostname)
828
828
829
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
830
+ triple ``(hostname, aliaslist, ipaddrlist) `` where *hostname * is the host's
831
+ primary host name, *aliaslist * is a (possibly
832
832
empty) list of alternative host names for the same address, and *ipaddrlist * is
833
833
a list of IPv4 addresses for the same interface on the same host (often but not
834
834
always a single address). :func: `gethostbyname_ex ` does not support IPv6 name
You can’t perform that action at this time.
0 commit comments