Kaydet (Commit) b2487335 authored tarafından Kurt B. Kaiser's avatar Kurt B. Kaiser

SF 693333

Modify subprocess to print a reasonable message upon receiving
a 'quit' or 'exit'
üst fd8e6e59
......@@ -418,6 +418,9 @@ class ModifiedInterpreter(InteractiveInterpreter):
import sys as _sys
_sys.path = %s
del _sys
_msg = 'Use File/Exit or your end-of-file key to quit IDLE'
__builtins__.quit = __builtins__.exit = _msg
del _msg
\n""" % `sys.path`)
active_seq = None
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment