summaryrefslogtreecommitdiffstats
path: root/Doc/library/idle.rst
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2022-07-03 17:20:48 (GMT)
committerGitHub <noreply@github.com>2022-07-03 17:20:48 (GMT)
commit1e7efbc449cc56d567948d74c3c38236b407b690 (patch)
treefe24441ae23a261855c5940fd1bfdbc98ff8eb2b /Doc/library/idle.rst
parentabf5f5c5d7071c5dd5a3cfd8fd1989af8df4cd6d (diff)
downloadcpython-1e7efbc449cc56d567948d74c3c38236b407b690.zip
cpython-1e7efbc449cc56d567948d74c3c38236b407b690.tar.gz
cpython-1e7efbc449cc56d567948d74c3c38236b407b690.tar.bz2
IDLE doc: Tweek RESTART and Windows console start (GH-94530)
(cherry picked from commit 39c29f753e6d6f390dce5a36613c1e03f43d28ea) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
Diffstat (limited to 'Doc/library/idle.rst')
-rw-r--r--Doc/library/idle.rst6
1 files changed, 4 insertions, 2 deletions
diff --git a/Doc/library/idle.rst b/Doc/library/idle.rst
index a4c9b1d..e91ec40 100644
--- a/Doc/library/idle.rst
+++ b/Doc/library/idle.rst
@@ -594,7 +594,7 @@ One may edit pasted code first.
If one pastes more than one statement into Shell, the result will be a
:exc:`SyntaxError` when multiple statements are compiled as if they were one.
-Lines containing ``'RESTART'`` mean that the user execution process has been
+Lines containing ``RESTART`` mean that the user execution process has been
re-started. This occurs when the user execution process has crashed,
when one requests a restart on the Shell menu, or when one runs code
in an editor window.
@@ -775,7 +775,9 @@ IDLE's standard stream replacements are not inherited by subprocesses
created in the execution process, whether directly by user code or by
modules such as multiprocessing. If such subprocess use ``input`` from
sys.stdin or ``print`` or ``write`` to sys.stdout or sys.stderr,
-IDLE should be started in a command line window. The secondary subprocess
+IDLE should be started in a command line window. (On Windows,
+use ``python`` or ``py`` rather than ``pythonw`` or ``pyw``.)
+The secondary subprocess
will then be attached to that window for input and output.
If ``sys`` is reset by user code, such as with ``importlib.reload(sys)``,