summaryrefslogtreecommitdiffstats
path: root/Lib/pdb.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/pdb.py')
-rw-r--r--Lib/pdb.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/Lib/pdb.py b/Lib/pdb.py
index ddbfb9d..b1be207 100644
--- a/Lib/pdb.py
+++ b/Lib/pdb.py
@@ -860,6 +860,9 @@ class Pdb(bdb.Bdb, cmd.Cmd):
return False # continue to handle other cmd def in the cmd list
elif cmd == 'end':
return True # end of cmd list
+ elif cmd == 'EOF':
+ print('')
+ return True # end of cmd list
cmdlist = self.commands[self.commands_bnum]
if arg:
cmdlist.append(cmd+' '+arg)