Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit6545a4e

Browse files
authored
pythongh-141246: Link to correct Windows docs intime.sleep() doc (python#141248)
1 parent87942d9 commit6545a4e

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 Windows8.1 and newer the implementation uses
410+
continues execution. On Windows10 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)

[8]ページ先頭

©2009-2025 Movatter.jp