summaryrefslogtreecommitdiffstats
path: root/Doc/library
diff options
context:
space:
mode:
author谭九鼎 <109224573@qq.com>2024-11-11 17:10:49 (GMT)
committerGitHub <noreply@github.com>2024-11-11 17:10:49 (GMT)
commit6e25eb15410f781f632d536d555f38879432522c (patch)
tree6ef98cbd09b02ff3aec47c780bc137f45f9a28e1 /Doc/library
parent25aee21aa84061b5d8e08247c8581da1459f37e8 (diff)
downloadcpython-6e25eb15410f781f632d536d555f38879432522c.zip
cpython-6e25eb15410f781f632d536d555f38879432522c.tar.gz
cpython-6e25eb15410f781f632d536d555f38879432522c.tar.bz2
Update documentation links to Microsoft's documentation pages (GH-126379)
Diffstat (limited to 'Doc/library')
-rw-r--r--Doc/library/asyncio-eventloop.rst2
-rw-r--r--Doc/library/time.rst2
2 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/asyncio-eventloop.rst b/Doc/library/asyncio-eventloop.rst
index 3ace6ed..9f1aec1 100644
--- a/Doc/library/asyncio-eventloop.rst
+++ b/Doc/library/asyncio-eventloop.rst
@@ -1797,7 +1797,7 @@ By default asyncio is configured to use :class:`EventLoop`.
.. seealso::
`MSDN documentation on I/O Completion Ports
- <https://docs.microsoft.com/en-ca/windows/desktop/FileIO/i-o-completion-ports>`_.
+ <https://learn.microsoft.com/windows/win32/fileio/i-o-completion-ports>`_.
.. class:: EventLoop
diff --git a/Doc/library/time.rst b/Doc/library/time.rst
index 9cd5db7..6265c22 100644
--- a/Doc/library/time.rst
+++ b/Doc/library/time.rst
@@ -390,7 +390,7 @@ Functions
threads ready to run, the function returns immediately, and the thread
continues execution. On Windows 8.1 and newer the implementation uses
a `high-resolution timer
- <https://docs.microsoft.com/en-us/windows-hardware/drivers/kernel/high-resolution-timers>`_
+ <https://learn.microsoft.com/windows-hardware/drivers/kernel/high-resolution-timers>`_
which provides resolution of 100 nanoseconds. If *secs* is zero, ``Sleep(0)`` is used.
Unix implementation: