From 3a625e60854f563f95ecd2fe6e2bba60f1c52746 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 70844d4d26b1cb..2ba70cbf7c6a44 100644 --- a/Doc/library/sys.rst +++ b/Doc/library/sys.rst @@ -870,7 +870,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