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 @@ -979,7 +979,7 @@ The :mod:`socket` module also offers various network-related services:
979979.. function :: gethostbyname_ex(hostname)
980980
981981 Translate a host name to IPv4 address format, extended interface. Return a
982- triple ``(hostname, aliaslist, ipaddrlist) `` where *hostname * is the host's
982+ 3-tuple ``(hostname, aliaslist, ipaddrlist) `` where *hostname * is the host's
983983 primary host name, *aliaslist * is a (possibly
984984 empty) list of alternative host names for the same address, and *ipaddrlist * is
985985 a list of IPv4 addresses for the same interface on the same host (often but not
@@ -1007,7 +1007,7 @@ The :mod:`socket` module also offers various network-related services:
10071007
10081008.. function :: gethostbyaddr(ip_address)
10091009
1010- Return a triple ``(hostname, aliaslist, ipaddrlist) `` where *hostname * is the
1010+ Return a 3-tuple ``(hostname, aliaslist, ipaddrlist) `` where *hostname * is the
10111011 primary host name responding to the given *ip_address *, *aliaslist * is a
10121012 (possibly empty) list of alternative host names for the same address, and
10131013 *ipaddrlist * is a list of IPv4/v6 addresses for the same interface on the same
You can’t perform that action at this time.
0 commit comments