From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Sat, 22 Feb 2025 16:13:31 +0000 (+0100) Subject: [3.12] Add measuring unit to `sys.getswitchinterval` docs (GH-130457) (#130459) X-Git-Tag: v3.12.10~174 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6c59ea6f1443e69a4b8abb8c953006cddedba916;p=thirdparty%2FPython%2Fcpython.git [3.12] Add measuring unit to `sys.getswitchinterval` docs (GH-130457) (#130459) Add measuring unit to `sys.getswitchinterval` docs (GH-130457) (cherry picked from commit 89d8b2d14bb6f7e5c4565b5c3f56d917e6134c89) Co-authored-by: sobolevn --- diff --git a/Doc/library/sys.rst b/Doc/library/sys.rst index 70844d4d26b1..2ba70cbf7c6a 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