diff options
author | Terry Jan Reedy <tjreedy@udel.edu> | 2022-01-27 03:16:31 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-27 03:16:31 (GMT) |
commit | fcde0bc10ddd836b62d0a8e893d80b8c55e0ba3f (patch) | |
tree | f08c12d138d8a6612f092bcc69e13759b40d073e /Doc/library/idle.rst | |
parent | ced50051bb752a7c1e616f4b0c001f37f0354f32 (diff) | |
download | cpython-fcde0bc10ddd836b62d0a8e893d80b8c55e0ba3f.zip cpython-fcde0bc10ddd836b62d0a8e893d80b8c55e0ba3f.tar.gz cpython-fcde0bc10ddd836b62d0a8e893d80b8c55e0ba3f.tar.bz2 |
bpo-45296: Clarify close, quit, and exit in IDLE (GH-30936)
In the File menu, 'Close' and 'Exit' are now 'Close Window' (the current
one) and 'Exit' is now 'Exit IDLE' (by closing all windows).
In Shell, 'quit()' and 'exit()' mean 'close Shell'.
If there are no other windows, this also exits IDLE.
Diffstat (limited to 'Doc/library/idle.rst')
-rw-r--r-- | Doc/library/idle.rst | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/Doc/library/idle.rst b/Doc/library/idle.rst index d740973..d602104 100644 --- a/Doc/library/idle.rst +++ b/Doc/library/idle.rst @@ -96,11 +96,13 @@ Save Copy As... Print Window Print the current window to the default printer. -Close - Close the current window (ask to save if unsaved). +Close Window + Close the current window (if an unsaved editor, ask to save; if an unsaved + Shell, ask to quit execution). Calling ``exit()`` or ``close()`` in the Shell + window also closes Shell. If this is the only window, also exit IDLE. -Exit - Close all windows and quit IDLE (ask to save unsaved windows). +Exit IDLE + Close all windows and quit IDLE (ask to save unsaved edit windows). Edit menu (Shell and Editor) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |