From: 莯凛 <1348292515@qq.com> Date: Sat, 8 Nov 2025 14:56:48 +0000 (+0800) Subject: gh-141246: Link to correct Windows docs in `time.sleep()` doc (#141248) X-Git-Tag: v3.15.0a2~156 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6545a4e8f83c27996fc771ed7c8c96ae0ce8d2e0;p=thirdparty%2FPython%2Fcpython.git gh-141246: Link to correct Windows docs in `time.sleep()` doc (#141248) --- diff --git a/Doc/library/time.rst b/Doc/library/time.rst index 69e6433e8987..a931134331f0 100644 --- a/Doc/library/time.rst +++ b/Doc/library/time.rst @@ -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 - `_ + `_ which provides resolution of 100 nanoseconds. If *secs* is zero, ``Sleep(0)`` is used. .. rubric:: Unix implementation