From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Sat, 8 Nov 2025 15:03:07 +0000 (+0100) Subject: [3.13] gh-141246: Link to correct Windows docs in `time.sleep()` doc (GH-141248)... X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=82a274e700103a184440f46368805d9c2f4aa00a;p=thirdparty%2FPython%2Fcpython.git [3.13] gh-141246: Link to correct Windows docs in `time.sleep()` doc (GH-141248) (#141252) gh-141246: Link to correct Windows docs in `time.sleep()` doc (GH-141248) (cherry picked from commit 6545a4e8f83c27996fc771ed7c8c96ae0ce8d2e0) Co-authored-by: 莯凛 <1348292515@qq.com> --- diff --git a/Doc/library/time.rst b/Doc/library/time.rst index 43e402a4bf9d..a8b721b59df3 100644 --- a/Doc/library/time.rst +++ b/Doc/library/time.rst @@ -396,9 +396,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