summaryrefslogtreecommitdiffstats
path: root/Lib/socket.py
diff options
context:
space:
mode:
author谭九鼎 <109224573@qq.com>2023-03-13 13:15:52 (GMT)
committerGitHub <noreply@github.com>2023-03-13 13:15:52 (GMT)
commit9a8b66b58c74236959a01d579e2c156d9c2e7cb3 (patch)
tree517a20903aaf1d9eb5763640027ca674d537ebc9 /Lib/socket.py
parent233e32f93614255bf5fc7c93cd98af453e58cc98 (diff)
downloadcpython-9a8b66b58c74236959a01d579e2c156d9c2e7cb3.zip
cpython-9a8b66b58c74236959a01d579e2c156d9c2e7cb3.tar.gz
cpython-9a8b66b58c74236959a01d579e2c156d9c2e7cb3.tar.bz2
Fix broken link to MSDN (#102355)
Diffstat (limited to 'Lib/socket.py')
-rw-r--r--Lib/socket.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/socket.py b/Lib/socket.py
index 3a4f94d..321fcda 100644
--- a/Lib/socket.py
+++ b/Lib/socket.py
@@ -910,7 +910,7 @@ def create_server(address, *, family=AF_INET, backlog=None, reuse_port=False,
# address, effectively preventing this one from accepting
# connections. Also, it may set the process in a state where
# it'll no longer respond to any signals or graceful kills.
- # See: msdn2.microsoft.com/en-us/library/ms740621(VS.85).aspx
+ # See: https://learn.microsoft.com/windows/win32/winsock/using-so-reuseaddr-and-so-exclusiveaddruse
if os.name not in ('nt', 'cygwin') and \
hasattr(_socket, 'SO_REUSEADDR'):
try: