You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
bpo-45296: Clarify close, quit, and exit in IDLE (pythonGH-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.
<liclass="nav-item nav-item-1"><ahref="index.html" >The Python Standard Library</a> »</li>
@@ -163,9 +163,11 @@ <h3>File menu (Shell and Editor)<a class="headerlink" href="#file-menu-shell-and
163
163
</dd>
164
164
<dt>Print Window</dt><dd><p>Print the current window to the default printer.</p>
165
165
</dd>
166
-
<dt>Close</dt><dd><p>Close the current window (ask to save if unsaved).</p>
166
+
<dt>Close Window</dt><dd><p>Close the current window (if an unsaved editor, ask to save; if an unsaved
167
+
Shell, ask to quit execution). Calling <codeclass="docutils literal notranslate"><spanclass="pre">exit()</span></code> or <codeclass="docutils literal notranslate"><spanclass="pre">close()</span></code> in the Shell
168
+
window also closes Shell. If this is the only window, also exit IDLE.</p>
167
169
</dd>
168
-
<dt>Exit</dt><dd><p>Close all windows and quit IDLE (ask to save unsaved windows).</p>
170
+
<dt>Exit IDLE</dt><dd><p>Close all windows and quit IDLE (ask to save unsaved edit windows).</p>
0 commit comments