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.
This commit is contained in:
Terry Jan Reedy 2022-01-26 22:16:31 -05:00 committed by GitHub
parent ced50051bb
commit fcde0bc10d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 23 additions and 15 deletions

View file

@ -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)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^