Skip to content

Commit aa8f5bb

Browse files
Eclips4picnixz
andauthored
Apply suggestions from code review
Co-authored-by: Bénédikt Tran <[email protected]>
1 parent 4ddcd62 commit aa8f5bb

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

Doc/library/sys.rst

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1235,14 +1235,17 @@ always available.
12351235

12361236
.. versionadded:: 3.13
12371237

1238+
12381239
.. function:: _jit_enabled()
1239-
Return :const:`True` if :ref:`JIT compiler <whatsnew313-jit-compiler>` is active.
1240-
Return :const:`False` otherwise.
12411240

1242-
Available only in JIT builds, tier 2 interpreter doesn't count here.
1241+
Return :const:`True` if the :ref:`JIT compiler <whatsnew313-jit-compiler>` is active,
1242+
and :const:`False` otherwise.
1243+
1244+
Available only in JIT builds; tier 2 interpreter does not count here.
12431245

12441246
.. versionadded:: next
12451247

1248+
12461249
.. function:: is_finalizing()
12471250

12481251
Return :const:`True` if the main Python interpreter is

Doc/whatsnew/3.14.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -443,7 +443,7 @@ sys
443443
which only exists in specialized builds of Python, may now return objects
444444
from other interpreters than the one it's called in.
445445

446-
* Add a :func:`sys._jit_enabled` which helps to determine in runtime if
446+
* Add :func:`sys._jit_enabled` to determine at runtime if the
447447
:ref:`JIT compiler <whatsnew313-jit-compiler>` is active.
448448

449449

0 commit comments

Comments
 (0)