Skip to content

Commit 5e411d7

Browse files
committed
Rephrase some sentences
1 parent 4b46752 commit 5e411d7

1 file changed

Lines changed: 3 additions & 5 deletions

File tree

‎Doc/library/test.rst‎

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1865,10 +1865,8 @@ The :mod:`!test.support.import_helper` module provides support for import tests.
18651865

18661866
.. function:: multi_interp_extensions_check(enabled=True)
18671867

1868-
A context manager that forces (if ``True``) or prevents legacy modules from being
1869-
allowed in subinterpreters.
1870-
1871-
("legacy" == single-phase init)
1868+
A context manager that forces (if ``True``) or prevents legacy (single-phase init)
1869+
modules from being allowed in subinterpreters.
18721870

18731871
This only applies to modules that haven't been imported yet.
18741872
It overrides the ``PyInterpreterConfig.check_multi_interp_extensions``
@@ -1892,7 +1890,7 @@ The :mod:`!test.support.import_helper` module provides support for import tests.
18921890
Test that when *imported_module* is imported, none of the modules in *modules_to_block*
18931891
are imported as a side effect.
18941892

1895-
*additional_code*, if given, should be additional python source code to execute before
1893+
*additional_code* if given should be additional python source code to execute before
18961894
checking that the blocked modules still haven't been imported.
18971895

18981896

0 commit comments

Comments
 (0)