diff options
author | Terry Jan Reedy <tjreedy@udel.edu> | 2022-01-26 22:16:31 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-26 22:16:31 -0500 |
commit | fcde0bc10ddd836b62d0a8e893d80b8c55e0ba3f (patch) | |
tree | f08c12d138d8a6612f092bcc69e13759b40d073e /Lib/idlelib/mainmenu.py | |
parent | ced50051bb752a7c1e616f4b0c001f37f0354f32 (diff) | |
download | cpython-fcde0bc10ddd836b62d0a8e893d80b8c55e0ba3f.tar.gz cpython-fcde0bc10ddd836b62d0a8e893d80b8c55e0ba3f.zip |
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 'Lib/idlelib/mainmenu.py')
-rw-r--r-- | Lib/idlelib/mainmenu.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/idlelib/mainmenu.py b/Lib/idlelib/mainmenu.py index 74edce23483..a1b169176cb 100644 --- a/Lib/idlelib/mainmenu.py +++ b/Lib/idlelib/mainmenu.py @@ -34,8 +34,8 @@ menudefs = [ None, ('Prin_t Window', '<<print-window>>'), None, - ('_Close', '<<close-window>>'), - ('E_xit', '<<close-all-windows>>'), + ('_Close Window', '<<close-window>>'), + ('E_xit IDLE', '<<close-all-windows>>'), ]), ('edit', [ |