diff --git a/Lib/idlelib/PyShell.py b/Lib/idlelib/PyShell.py index da827b8be16..399896af9a0 100644 --- a/Lib/idlelib/PyShell.py +++ b/Lib/idlelib/PyShell.py @@ -440,7 +440,7 @@ def close(self): if self.reading: self.top.quit() return "cancel" - return PyShellEditorWindow.close(self) + return OutputWindow.close(self) def _close(self): self.close_debugger()