mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +00:00
bpo-36958: In IDLE, print exit message (GH-13435)
Print any argument other than None or int passed to SystemExit or sys.exit().
This commit is contained in:
parent
53d378c812
commit
6d965b39b7
5 changed files with 20 additions and 6 deletions
|
@ -700,6 +700,9 @@ If ``sys`` is reset by user code, such as with ``importlib.reload(sys)``,
|
|||
IDLE's changes are lost and input from the keyboard and output to the screen
|
||||
will not work correctly.
|
||||
|
||||
When user code raises SystemExit either directly or by calling sys.exit, IDLE
|
||||
returns to a Shell prompt instead of exiting.
|
||||
|
||||
User output in Shell
|
||||
^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue