diff options
author | Terry Jan Reedy <tjreedy@udel.edu> | 2019-05-19 22:52:22 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-05-19 22:52:22 -0400 |
commit | 6d965b39b7a486dd9e96a60b19ee92382d668299 (patch) | |
tree | 8f314cbd9cda4bfc8aa7e2544a18f2bec6035fb2 /Lib/idlelib/help.html | |
parent | 53d378c81286644138415cb56da52a7351e1a477 (diff) | |
download | cpython-git-6d965b39b7a486dd9e96a60b19ee92382d668299.tar.gz |
bpo-36958: In IDLE, print exit message (GH-13435)
Print any argument other than None or int passed to SystemExit
or sys.exit().
Diffstat (limited to 'Lib/idlelib/help.html')
-rw-r--r-- | Lib/idlelib/help.html | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Lib/idlelib/help.html b/Lib/idlelib/help.html index 56f9ca503d..bc287d637a 100644 --- a/Lib/idlelib/help.html +++ b/Lib/idlelib/help.html @@ -659,6 +659,8 @@ will then be attached to that window for input and output.</p> <p>If <code class="docutils literal notranslate"><span class="pre">sys</span></code> is reset by user code, such as with <code class="docutils literal notranslate"><span class="pre">importlib.reload(sys)</span></code>, IDLE’s changes are lost and input from the keyboard and output to the screen will not work correctly.</p> +<p>When user code raises SystemExit either directly or by calling sys.exit, IDLE +returns to a Shell prompt instead of exiting.</p> </div> <div class="section" id="user-output-in-shell"> <h3>User output in Shell<a class="headerlink" href="#user-output-in-shell" title="Permalink to this headline">¶</a></h3> @@ -941,7 +943,7 @@ also used for testing.</p> <br /> <br /> - Last updated on May 16, 2019. + Last updated on May 19, 2019. <a href="https://docs.python.org/3/bugs.html">Found a bug</a>? <br /> |