summaryrefslogtreecommitdiffstats
path: root/Doc/library/idle.rst
diff options
context:
space:
mode:
Diffstat (limited to 'Doc/library/idle.rst')
-rw-r--r--Doc/library/idle.rst3
1 files changed, 3 insertions, 0 deletions
diff --git a/Doc/library/idle.rst b/Doc/library/idle.rst
index f511d64..c51cf19 100644
--- a/Doc/library/idle.rst
+++ b/Doc/library/idle.rst
@@ -700,6 +700,9 @@ If ``sys`` is reset by user code, such as with ``importlib.reload(sys)``,
IDLE's changes are lost and input from the keyboard and output to the screen
will not work correctly.
+When user code raises SystemExit either directly or by calling sys.exit, IDLE
+returns to a Shell prompt instead of exiting.
+
User output in Shell
^^^^^^^^^^^^^^^^^^^^