[Python-checkins] python/dist/src/Lib pdb.py,1.51,1.52

gvanrossum@sourceforge.net gvanrossum@sourceforge.net
Sun, 14 Apr 2002 17:48:26 -0700


Update of /cvsroot/python/python/dist/src/Lib
In directory usw-pr-cvs1:/tmp/cvs-serv30252

Modified Files:
	pdb.py 
Log Message:
Add exit as alias for quit, as the easiest way to address SF bug
#543674.

Bugfix candidate.


Index: pdb.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/pdb.py,v
retrieving revision 1.51
retrieving revision 1.52
diff -C2 -d -r1.51 -r1.52
*** pdb.py	9 Feb 2001 23:28:07 -0000	1.51
--- pdb.py	15 Apr 2002 00:48:24 -0000	1.52
***************
*** 498,501 ****
--- 498,502 ----
          return 1
      do_q = do_quit
+     do_exit = do_quit
  
      def do_args(self, arg):
***************
*** 820,825 ****
  
      def help_q(self):
!         print """q(uit) Quit from the debugger.
  The program being executed is aborted."""
  
      def help_whatis(self):
--- 821,828 ----
  
      def help_q(self):
!         print """q(uit) or exit - Quit from the debugger.
  The program being executed is aborted."""
+ 
+     help_exit = help_q
  
      def help_whatis(self):