]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.12] Add measuring unit to `sys.getswitchinterval` docs (GH-130457) (#130459)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sat, 22 Feb 2025 16:13:31 +0000 (17:13 +0100)
committerGitHub <noreply@github.com>
Sat, 22 Feb 2025 16:13:31 +0000 (16:13 +0000)
Add measuring unit to `sys.getswitchinterval` docs (GH-130457)
(cherry picked from commit 89d8b2d14bb6f7e5c4565b5c3f56d917e6134c89)

Co-authored-by: sobolevn <mail@sobolevn.me>
Doc/library/sys.rst

index 70844d4d26b1cb327dfeece525b6aeb0edca52c0..2ba70cbf7c6a4496727c04fdaf51fd7c8938f5f1 100644 (file)
@@ -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