summaryrefslogtreecommitdiff
path: root/Lib/idlelib/run.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/idlelib/run.py')
-rw-r--r--Lib/idlelib/run.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/idlelib/run.py b/Lib/idlelib/run.py
index 6ab80444de..d79f3d73d0 100644
--- a/Lib/idlelib/run.py
+++ b/Lib/idlelib/run.py
@@ -92,7 +92,7 @@ class Executive:
if sys.stdout.softspace:
sys.stdout.softspace = 0
sys.stdout.write("\n")
- except AttributeError:
+ except (AttributeError, EOFError):
pass
def cleanup_traceback(self, tb, exclude):