Skip to content

Commit 6545a4e

Browse files
author
莯凛
authored
gh-141246: Link to correct Windows docs in time.sleep() doc (#141248)
1 parent 87942d9 commit 6545a4e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Doc/library/time.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -407,9 +407,9 @@ Functions
407407
On Windows, if *secs* is zero, the thread relinquishes the remainder of its
408408
time slice to any other thread that is ready to run. If there are no other
409409
threads ready to run, the function returns immediately, and the thread
410-
continues execution. On Windows 8.1 and newer the implementation uses
410+
continues execution. On Windows 10 and newer the implementation uses
411411
a `high-resolution timer
412-
<https://learn.microsoft.com/windows-hardware/drivers/kernel/high-resolution-timers>`_
412+
<https://learn.microsoft.com/windows/win32/api/synchapi/nf-synchapi-createwaitabletimerexw>`_
413413
which provides resolution of 100 nanoseconds. If *secs* is zero, ``Sleep(0)`` is used.
414414

415415
.. rubric:: Unix implementation

0 commit comments

Comments
 (0)