diff options
author | Roger Serwy <roger.serwy@gmail.com> | 2013-04-12 00:16:44 (GMT) |
---|---|---|
committer | Roger Serwy <roger.serwy@gmail.com> | 2013-04-12 00:16:44 (GMT) |
commit | 1eafd1076eca6b63337a2d8bb1eecae5b57e7792 (patch) | |
tree | b0af393497b95bda3a1bdc0efe33be5d20132e02 /Lib/idlelib/PyShell.py | |
parent | 36b045f4db128a308f311058330c81995acf68fe (diff) | |
download | cpython-1eafd1076eca6b63337a2d8bb1eecae5b57e7792.zip cpython-1eafd1076eca6b63337a2d8bb1eecae5b57e7792.tar.gz cpython-1eafd1076eca6b63337a2d8bb1eecae5b57e7792.tar.bz2 |
#17585: Fixed IDLE regression. Now closes when using exit() or quit().
Diffstat (limited to 'Lib/idlelib/PyShell.py')
-rw-r--r-- | Lib/idlelib/PyShell.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Lib/idlelib/PyShell.py b/Lib/idlelib/PyShell.py index c381f23..177e49e 100644 --- a/Lib/idlelib/PyShell.py +++ b/Lib/idlelib/PyShell.py @@ -1365,6 +1365,9 @@ class PseudoInputFile(PseudoFile): self._line_buffer = line[size:] return line[:size] + def close(self): + self.shell.close() + usage_msg = """\ |