Skip to content

Commit db7609f

Browse files
committed
Fix references
1 parent 1c4f440 commit db7609f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Doc/library/sys.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1294,22 +1294,22 @@ always available. Unless explicitly noted otherwise, all variables are read-only
12941294

12951295
.. versionadded:: next
12961296

1297-
.. function:: sys._jit.is_available()
1297+
.. function:: _jit.is_available()
12981298

12991299
Return ``True`` if the current Python executable supports JIT compilation,
13001300
and ``False`` otherwise. This can be controlled by building CPython with
13011301
the ``--experimental-jit`` option on Windows, and the
13021302
:option:`--enable-experimental-jit` option on all other platforms.
13031303

1304-
.. function:: sys._jit.is_enabled()
1304+
.. function:: _jit.is_enabled()
13051305

13061306
Return ``True`` if JIT compilation is enabled for the current Python
13071307
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.
13111311

1312-
.. function:: sys._jit.is_active()
1312+
.. function:: _jit.is_active()
13131313

13141314
Return ``True`` if the topmost Python frame is currently executing JIT
13151315
code, and ``False`` otherwise.

0 commit comments

Comments
 (0)