Add exit as alias for quit, as the easiest way to address SF bug
#543674.
Bugfix candidate.
diff --git a/Lib/pdb.py b/Lib/pdb.py
index 1286f12..75f0556 100755
--- a/Lib/pdb.py
+++ b/Lib/pdb.py
@@ -497,6 +497,7 @@
self.set_quit()
return 1
do_q = do_quit
+ do_exit = do_quit
def do_args(self, arg):
f = self.curframe
@@ -819,9 +820,11 @@
self.help_q()
def help_q(self):
- print """q(uit) Quit from the debugger.
+ print """q(uit) or exit - Quit from the debugger.
The program being executed is aborted."""
+ help_exit = help_q
+
def help_whatis(self):
print """whatis arg
Prints the type of the argument."""