File tree 1 file changed +2
-2
lines changed
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:
979
979
.. function :: gethostbyname_ex(hostname)
980
980
981
981
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
983
983
primary host name, *aliaslist * is a (possibly
984
984
empty) list of alternative host names for the same address, and *ipaddrlist * is
985
985
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:
1007
1007
1008
1008
.. function :: gethostbyaddr(ip_address)
1009
1009
1010
- Return a triple ``(hostname, aliaslist, ipaddrlist) `` where *hostname * is the
1010
+ Return a 3-tuple ``(hostname, aliaslist, ipaddrlist) `` where *hostname * is the
1011
1011
primary host name responding to the given *ip_address *, *aliaslist * is a
1012
1012
(possibly empty) list of alternative host names for the same address, and
1013
1013
*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