Skip to content

Commit 775eb32

Browse files
committed
Feedback from code review
1 parent 1b2e511 commit 775eb32

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

Doc/library/sys.rst

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1292,7 +1292,7 @@ always available. Unless explicitly noted otherwise, all variables are read-only
12921292
``sys._jit`` is not guaranteed to exist or behave the same way in all
12931293
Python implementations, versions, or build configurations.
12941294

1295-
.. versionadded:: 3.14
1295+
.. versionadded:: next
12961296

12971297
.. function:: sys._jit.is_available()
12981298

@@ -1304,7 +1304,7 @@ always available. Unless explicitly noted otherwise, all variables are read-only
13041304
.. function:: sys._jit.is_enabled()
13051305

13061306
Return ``True`` if JIT compilation is enabled for the current Python
1307-
process (implies ``sys._jit.is_available()``), and ``False`` otherwise.
1307+
process (implies :func:`sys._jit.is_available`), and ``False`` otherwise.
13081308
If JIT compilation is available, this can be controlled by setting the
13091309
:envvar:`PYTHON_JIT` environment variable to ``0`` (disabled) or ``1``
13101310
(enabled) at interpreter startup.
@@ -1316,6 +1316,10 @@ always available. Unless explicitly noted otherwise, all variables are read-only
13161316

13171317
.. note::
13181318

1319+
This function is intended for testing and debugging the JIT itself.
1320+
Beyond using it to confirm that the JIT is actually working, most users
1321+
will never *need* to use it.
1322+
13191323
Due to the nature of tracing JIT compilers, repeated calls to this
13201324
function may give surprising results. For example, branching on its
13211325
return value will likely lead to unexpected behavior (if doing so

0 commit comments

Comments
 (0)