diff options
author | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2021-07-26 22:11:55 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-26 22:11:55 (GMT) |
commit | 11749e2dc20ad6a76e9a39e948853e89b2b4bbed (patch) | |
tree | 7b370ec4036b21ae99ca0b46c1d82ac122f9d43f /Modules/socketmodule.c | |
parent | 6c7ec7282b68dcd0f3af0f1ccc6345da4bc06931 (diff) | |
download | cpython-11749e2dc20ad6a76e9a39e948853e89b2b4bbed.zip cpython-11749e2dc20ad6a76e9a39e948853e89b2b4bbed.tar.gz cpython-11749e2dc20ad6a76e9a39e948853e89b2b4bbed.tar.bz2 |
bpo-44740: Lowercase "internet" and "web" where appropriate. (#27378)
Co-authored-by: Ćukasz Langa <lukasz@langa.pl>
Diffstat (limited to 'Modules/socketmodule.c')
-rw-r--r-- | Modules/socketmodule.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/socketmodule.c b/Modules/socketmodule.c index 9233430..a5f24684 100644 --- a/Modules/socketmodule.c +++ b/Modules/socketmodule.c @@ -45,7 +45,7 @@ Module interface: - socket.if_nameindex() -> list of tuples (if_index, if_name) - socket.if_nametoindex(name) -> corresponding interface index - socket.if_indextoname(index) -> corresponding interface name -- an Internet socket address is a pair (hostname, port) +- an internet socket address is a pair (hostname, port) where hostname can be anything recognized by gethostbyname() (including the dd.dd.dd.dd notation) and port is in host byte order - where a hostname is returned, the dd.dd.dd.dd notation is used |