Skip to content

Commit 7db06be

Browse files
[3.14] gh-141246: Link to correct Windows docs in time.sleep() doc (GH-141248) (#141251)
gh-141246: Link to correct Windows docs in `time.sleep()` doc (GH-141248) (cherry picked from commit 6545a4e) Co-authored-by: 莯凛 <1348292515@qq.com>
1 parent 41944be commit 7db06be

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
@@ -396,9 +396,9 @@ Functions
396396
On Windows, if *secs* is zero, the thread relinquishes the remainder of its
397397
time slice to any other thread that is ready to run. If there are no other
398398
threads ready to run, the function returns immediately, and the thread
399-
continues execution. On Windows 8.1 and newer the implementation uses
399+
continues execution. On Windows 10 and newer the implementation uses
400400
a `high-resolution timer
401-
<https://learn.microsoft.com/windows-hardware/drivers/kernel/high-resolution-timers>`_
401+
<https://learn.microsoft.com/windows/win32/api/synchapi/nf-synchapi-createwaitabletimerexw>`_
402402
which provides resolution of 100 nanoseconds. If *secs* is zero, ``Sleep(0)`` is used.
403403

404404
.. rubric:: Unix implementation

0 commit comments

Comments
 (0)