Skip to content

Commit d494383

Browse files
committed
mention use_pyrepl is True when envoking from the command line
1 parent 2f8fbc3 commit d494383

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

‎Doc/whatsnew/3.16.rst‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,8 @@ code
207207
pyrepl-based REPL. By default, *use_pyrepl* is ``False``, using the basic
208208
readline-based REPL. When set to ``True``, pyrepl is used if available.
209209
When set to ``None``, pyrepl is used automatically if available and the
210-
:envvar:`PYTHON_BASIC_REPL` environment variable is not set.
210+
:envvar:`PYTHON_BASIC_REPL` environment variable is not set. *use_pyrepl* is
211+
passed as ``True`` when envoking :mod:`code` from the command line.
211212
(Contributed by Long Tan in :gh:`148261`.)
212213

213214

0 commit comments

Comments
 (0)