bug #989672: pdb.doc and the help messages for the help_d and help_u methods

of the pdb.Pdb class gives have been corrected. d(own) goes to a newer frame,
u(p) to an older frame, not the other way around.
This commit is contained in:
Johannes Gijsbers 2004-08-14 15:19:28 +00:00
parent 4ec40648a5
commit 34c4120731
3 changed files with 8 additions and 4 deletions

View file

@ -755,7 +755,7 @@ context of most commands. 'bt' is an alias for this command."""
def help_d(self):
print """d(own)
Move the current frame one level down in the stack trace
(to an older frame)."""
(to a newer frame)."""
def help_up(self):
self.help_u()
@ -763,7 +763,7 @@ Move the current frame one level down in the stack trace
def help_u(self):
print """u(p)
Move the current frame one level up in the stack trace
(to a newer frame)."""
(to an older frame)."""
def help_break(self):
self.help_b()