summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2021-07-26 22:34:32 (GMT)
committerGitHub <noreply@github.com>2021-07-26 22:34:32 (GMT)
commit6fc1efa4546ad94a904239fd5efb84e02894eb31 (patch)
tree0e7ca76239d3056cbf0d153179043b8f69c96296 /Modules
parent0ea5e0d792a85b435ef299319dcd52e59f535cb1 (diff)
downloadcpython-6fc1efa4546ad94a904239fd5efb84e02894eb31.zip
cpython-6fc1efa4546ad94a904239fd5efb84e02894eb31.tar.gz
cpython-6fc1efa4546ad94a904239fd5efb84e02894eb31.tar.bz2
bpo-44740: Lowercase "internet" and "web" where appropriate. (GH-27378) (GH-27380)
Co-authored-by: Ɓukasz Langa <lukasz@langa.pl> (cherry picked from commit 11749e2dc20ad6a76e9a39e948853e89b2b4bbed) Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com>
Diffstat (limited to 'Modules')
-rw-r--r--Modules/socketmodule.c2
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