]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.13] gh-141246: Link to correct Windows docs in `time.sleep()` doc (GH-141248)...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sat, 8 Nov 2025 15:03:07 +0000 (16:03 +0100)
committerGitHub <noreply@github.com>
Sat, 8 Nov 2025 15:03:07 +0000 (15:03 +0000)
gh-141246: Link to correct Windows docs in `time.sleep()` doc (GH-141248)
(cherry picked from commit 6545a4e8f83c27996fc771ed7c8c96ae0ce8d2e0)

Co-authored-by: 莯凛 <1348292515@qq.com>
Doc/library/time.rst

index 43e402a4bf9d1b30c434893185cc84104efd2bd9..a8b721b59df348804577d1a35abaa069911f1f55 100644 (file)
@@ -396,9 +396,9 @@ Functions
    On Windows, if *secs* is zero, the thread relinquishes the remainder of its
    time slice to any other thread that is ready to run. If there are no other
    threads ready to run, the function returns immediately, and the thread
-   continues execution.  On Windows 8.1 and newer the implementation uses
+   continues execution.  On Windows 10 and newer the implementation uses
    a `high-resolution timer
-   <https://learn.microsoft.com/windows-hardware/drivers/kernel/high-resolution-timers>`_
+   <https://learn.microsoft.com/windows/win32/api/synchapi/nf-synchapi-createwaitabletimerexw>`_
    which provides resolution of 100 nanoseconds. If *secs* is zero, ``Sleep(0)`` is used.
 
    .. rubric:: Unix implementation