From 42784dc8f46b76cddf57e2cda800bafb30efae2d Mon Sep 17 00:00:00 2001 From: sobolevn Date: Sat, 22 Feb 2025 19:05:10 +0300 Subject: [PATCH] Add measuring unit to `sys.getswitchinterval` docs (GH-130457) (cherry picked from commit 89d8b2d14bb6f7e5c4565b5c3f56d917e6134c89) Co-authored-by: sobolevn --- Doc/library/sys.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/library/sys.rst b/Doc/library/sys.rst index 7af7a7c0d7c47b..7eb1563e9a3582 100644 --- a/Doc/library/sys.rst +++ b/Doc/library/sys.rst @@ -883,7 +883,7 @@ always available. Unless explicitly noted otherwise, all variables are read-only .. function:: getswitchinterval() - Return the interpreter's "thread switch interval"; see + Return the interpreter's "thread switch interval" in seconds; see :func:`setswitchinterval`. .. versionadded:: 3.2