]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-141246: Link to correct Windows docs in `time.sleep()` doc (#141248) main
author莯凛 <1348292515@qq.com>
Sat, 8 Nov 2025 14:56:48 +0000 (22:56 +0800)
committerGitHub <noreply@github.com>
Sat, 8 Nov 2025 14:56:48 +0000 (15:56 +0100)
Doc/library/time.rst

index 69e6433e89870346cdbd88ba601f6d131649d374..a931134331f0a5c4214082c63fd6932c8c5ed47d 100644 (file)
@@ -407,9 +407,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