diff Lib/idlelib/PyShell.py @ 83259:d3c67e2fc68c 3.3

#17585: Fixed IDLE regression. Now closes when using exit() or quit().
author Roger Serwy <roger.serwy@gmail.com>
date Thu, 11 Apr 2013 19:16:44 -0500
parents 0be85a7fc839
children fef7f212fe76 82451c88b3c0
line wrap: on
line diff
--- a/Lib/idlelib/PyShell.py	Thu Apr 11 21:01:40 2013 +0200
+++ b/Lib/idlelib/PyShell.py	Thu Apr 11 19:16:44 2013 -0500
@@ -1365,6 +1365,9 @@
         self._line_buffer = line[size:]
         return line[:size]
 
+    def close(self):
+        self.shell.close()
+
 
 usage_msg = """\