]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.13] document that `sys._is_gil_enabled` is CPython-specific (GH-131748) (#131760)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Wed, 26 Mar 2025 12:14:47 +0000 (13:14 +0100)
committerGitHub <noreply@github.com>
Wed, 26 Mar 2025 12:14:47 +0000 (17:44 +0530)
document that `sys._is_gil_enabled` is CPython-specific (GH-131748)
(cherry picked from commit ac12de2e6a6f5c1da83de0412bb7d03c28fdab63)

Co-authored-by: Ralf Gommers <ralf.gommers@gmail.com>
Doc/library/sys.rst

index 68301b74d2f8b0238e491ae76a48af9f798562bb..c993d58378708d8eeb46e61abcc0ff44eb827159 100644 (file)
@@ -1235,6 +1235,9 @@ always available. Unless explicitly noted otherwise, all variables are read-only
 
    .. versionadded:: 3.13
 
+   .. impl-detail::
+
+      It is not guaranteed to exist in all implementations of Python.
 
 .. function:: is_finalizing()